1
0
mirror of https://github.com/ArcticFoxes-net/Signal-TLS-Proxy synced 2024-11-08 13:21:34 -05:00
Signal-TLS-Proxy/docker-compose.yml

44 lines
1.0 KiB
YAML
Raw Normal View History

2021-01-28 13:34:53 -05:00
version: '3'
services:
nginx-terminate:
image: nginx:alpine
2021-01-28 13:34:53 -05:00
restart: unless-stopped
volumes:
- ./data/nginx-terminate/nginx.conf:/etc/nginx/nginx.conf:Z
2023-08-15 20:37:55 -04:00
- ./data/certbot/conf:/etc/letsencrypt:z
- ./data/certbot/www:/var/www/certbot:z
2021-01-28 13:34:53 -05:00
ports:
- "443:443"
- "80:80"
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- CHOWN
- SETUID
- SETGID
- CAP_NET_BIND_SERVICE
2021-01-28 13:34:53 -05:00
nginx-relay:
image: nginx:alpine
2021-01-28 13:34:53 -05:00
restart: unless-stopped
volumes:
- ./data/nginx-relay/nginx.conf:/etc/nginx/nginx.conf:Z
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- SETUID
- SETGID
2021-01-28 13:34:53 -05:00
certbot:
image: certbot/certbot
restart: unless-stopped
volumes:
2023-08-15 20:37:55 -04:00
- ./data/certbot/conf:/etc/letsencrypt:z
- ./data/certbot/www:/var/www/certbot:z
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
security_opt:
- no-new-privileges:true