docker-compose/nginx-proxy/docker-compose.yml

24 lines
524 B
YAML

# Remember to run: docker network create proxy
networks:
proxy:
external: true
services:
reverse-proxy:
container_name: nginx-proxy-manager
image: "jc21/nginx-proxy-manager:latest"
restart: always
ports:
- "80:80"
- "443:443"
- "81:81"
environment:
DB_SQLITE_FILE: "/data/database.sqlite"
DISABLE_IPV6: "true"
volumes:
- /docker/storage/nginx-proxy/data:/data
- /docker/storage/nginx-proxy/letsencrypt:/etc/letsencrypt
networks:
- proxy