Skip to content

Instantly share code, notes, and snippets.

@d4kine
Last active September 22, 2024 19:10
Show Gist options
  • Save d4kine/1cb247b3159219291d0549e131820488 to your computer and use it in GitHub Desktop.
Save d4kine/1cb247b3159219291d0549e131820488 to your computer and use it in GitHub Desktop.
docker-compose.yaml
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
container_name: nginx-proxy-manager
networks:
- default
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
healthcheck:
test: ["CMD", "/usr/bin/check-health"]
interval: 10s
timeout: 3s
networks:
default:
name: proxy
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment