mirror of
https://github.com/ArcticFoxes-net/Coturn-Docker-Compose
synced 2024-09-07 20:53:31 -04:00
52 lines
975 B
YAML
52 lines
975 B
YAML
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"
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- NET_BIND_SERVICE
|
|
|
|
redis:
|
|
image: redis:alpine
|
|
container_name: redis
|
|
restart: unless-stopped
|
|
volumes:
|
|
- redis:/data
|
|
ports:
|
|
- "127.0.0.1:6379:6379"
|
|
healthcheck:
|
|
test: redis-cli ping
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 2
|
|
user: "999:1000"
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
|
|
acme:
|
|
image: neilpang/acme.sh:latest
|
|
container_name: acme
|
|
restart: unless-stopped
|
|
command: daemon
|
|
volumes:
|
|
- ./acme:/acme.sh:Z
|
|
- ./ssl:/ssl:z
|
|
network_mode: "host"
|
|
|
|
volumes:
|
|
redis:
|