mirror of
https://github.com/ArcticFoxes-net/Coturn-Docker-Compose
synced 2024-12-22 10:01:34 -05:00
Run coturn and redis in readonly
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
cf6ad42094
commit
e99106e13a
@ -9,12 +9,14 @@ services:
|
|||||||
- ./ssl:/etc/ssl/certs:Z
|
- ./ssl:/etc/ssl/certs:Z
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
user: "65534:65534"
|
user: "65534:65534"
|
||||||
|
read_only: true
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_BIND_SERVICE
|
- NET_BIND_SERVICE
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: redis
|
container_name: redis
|
||||||
@ -24,19 +26,21 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:6379:6379"
|
- "127.0.0.1:6379:6379"
|
||||||
user: "999:1000"
|
user: "999:1000"
|
||||||
|
read_only: true
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
|
||||||
acme:
|
acme:
|
||||||
image: neilpang/acme.sh:latest
|
image: neilpang/acme.sh:latest
|
||||||
container_name: acme
|
container_name: acme
|
||||||
|
restart: unless-stopped
|
||||||
command: daemon
|
command: daemon
|
||||||
volumes:
|
volumes:
|
||||||
- ./acme:/acme.sh
|
- ./acme:/acme.sh
|
||||||
- ./ssl:/ssl
|
- ./ssl:/ssl
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
redis:
|
redis:
|
||||||
|
Loading…
Reference in New Issue
Block a user