28 lines
590 B
YAML
Executable File
28 lines
590 B
YAML
Executable File
services:
|
|
app:
|
|
image: jc21/nginx-proxy-manager:latest
|
|
container_name: nginx
|
|
labels:
|
|
- wud.watch=true
|
|
- com.hanold.environment=production
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
restart: unless-stopped
|
|
ports:
|
|
- 80:80
|
|
- 81:81
|
|
- 443:443
|
|
volumes:
|
|
- ./data:/data
|
|
- ./letsencrypt:/etc/letsencrypt
|
|
- ./snippets:/snippets
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost/ || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 5s
|
|
networks: {}
|