2022-11-25 02:26:53 -05:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
coturn:
|
|
|
|
image: coturn/coturn:alpine
|
|
|
|
container_name: coturn
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ./coturn:/etc/coturn:Z
|
|
|
|
- ./ssl:/etc/ssl/certs:Z
|
|
|
|
network_mode: "host"
|
|
|
|
user: "65534:65534"
|
2022-11-25 03:06:58 -05:00
|
|
|
read_only: true
|
2022-11-25 02:26:53 -05:00
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- NET_BIND_SERVICE
|
2022-11-25 03:06:58 -05:00
|
|
|
|
2022-11-25 02:26:53 -05:00
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
|
|
|
container_name: redis
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- redis:/data
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:6379:6379"
|
2022-11-25 03:13:06 -05:00
|
|
|
healthcheck:
|
|
|
|
test: redis-cli ping
|
|
|
|
interval: 30s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 2
|
2022-11-25 02:26:53 -05:00
|
|
|
user: "999:1000"
|
2022-11-25 03:06:58 -05:00
|
|
|
read_only: true
|
2022-11-25 02:26:53 -05:00
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
2022-11-25 03:06:58 -05:00
|
|
|
|
2022-11-25 02:26:53 -05:00
|
|
|
acme:
|
2022-11-25 02:34:43 -05:00
|
|
|
image: neilpang/acme.sh:latest
|
2022-11-25 02:26:53 -05:00
|
|
|
container_name: acme
|
2022-11-25 03:06:58 -05:00
|
|
|
restart: unless-stopped
|
2022-11-25 02:26:53 -05:00
|
|
|
command: daemon
|
|
|
|
volumes:
|
|
|
|
- ./acme:/acme.sh
|
|
|
|
- ./ssl:/ssl
|
|
|
|
network_mode: "host"
|
|
|
|
|
|
|
|
volumes:
|
2022-11-25 02:34:43 -05:00
|
|
|
redis:
|