Skip to content

Instantly share code, notes, and snippets.

@fabiante
Forked from odinserj/docker-compose.yml
Created August 1, 2019 12:36
Show Gist options
  • Save fabiante/2a4ef55b51904e76a7bf6124039a1fce to your computer and use it in GitHub Desktop.
Save fabiante/2a4ef55b51904e76a7bf6124039a1fce to your computer and use it in GitHub Desktop.
ProGet using docker compose
version: '2'
services:
nginx:
image: jwilder/nginx-proxy
container_name: nginx-proxy
environment:
- DEFAULT_HOST=nuget.hangfire.io
links:
- proget
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /var/proget/nginx/ssl:/etc/nginx/certs:ro
restart: always
proget:
image: inedo/proget
container_name: proget
environment:
- VIRTUAL_HOST=nuget.hangfire.io
volumes:
- /var/proget/packages:/var/proget/packages
- /var/proget/extensions:/var/proget/extensions
links:
- proget-postgres
restart: always
proget-postgres:
image: postgres:9.5
container_name: proget-postgres
volumes:
- /var/proget/db:/var/lib/postgresql/data
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment