Files
docker-registry/docker-compose-production.yml
2023-12-08 21:53:09 +03:00

24 lines
472 B
YAML

version: '3.7'
services:
nginx:
image: nginx:alpine
restart: always
ports:
- "5443:443"
volumes:
- /etc/letsencrypt:/etc/letsencrypt:ro
- /var/www/html:/var/www/html:ro
- ./docker/production/nginx/conf.d:/etc/nginx/conf.d:ro
- ./htpasswd:/etc/nginx/auth/htpasswd:ro
depends_on:
- registry
registry:
image: registry:2
restart: always
volumes:
- registry:/var/lib/registry
volumes:
registry: