websoft9/docker/nginxproxymanager/docker-compose.yml

27 lines
528 B
YAML
Raw Normal View History

2023-03-31 08:25:18 +08:00
# image: https://hub.docker.com/r/jc21/nginx-proxy-manager
# docs: https://nginxproxymanager.com/guide/#quick-setup
version: "3.8"
services:
app:
image: jc21/nginx-proxy-manager:${APP_VERSION}
restart: unless-stopped
container_name: ${APP_NAME}
ports:
- "80:80"
- "${APP_HTTP_PORT}:81"
- "443:443"
volumes:
- nginx_data:/data
- nginx_letsencrypt:/etc/letsencrypt
networks:
default:
name: ${APP_NETWORK}
external: true
volumes:
nginx_data:
nginx_letsencrypt: