26 lines
541 B
YAML
26 lines
541 B
YAML
version: "3"
|
|
|
|
# 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:
|
|
- /mnt/data/storage/nginx-proxy/data:/data
|
|
- /mnt/data/storage/nginx-proxy/letsencrypt:/etc/letsencrypt
|
|
networks:
|
|
- proxy
|