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
|
2022-11-25 07:36:51 -05:00
|
|
|
- ./ssl:/etc/ssl/certs:z
|
2022-11-25 02:26:53 -05:00
|
|
|
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
|
2022-11-25 17:32:19 -05:00
|
|
|
interval: 15s
|
2022-11-25 03:13:06 -05:00
|
|
|
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:
|
2022-11-25 07:36:51 -05:00
|
|
|
- ./acme:/acme.sh:Z
|
|
|
|
- ./ssl:/ssl:z
|
2022-11-25 02:26:53 -05:00
|
|
|
network_mode: "host"
|
|
|
|
|
|
|
|
volumes:
|
2022-11-25 02:34:43 -05:00
|
|
|
redis:
|