-
-
Save fabiante/2a4ef55b51904e76a7bf6124039a1fce to your computer and use it in GitHub Desktop.
ProGet using docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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