Update docker-compose.yml
This commit is contained in:
1 parent
50d40cd929
commit
e129015f2f
1 file changed
+8
-6
+8
-6
@@ -9,8 +9,8 @@ services:
|
||||
image: excalidraw-go:local
|
||||
container_name: excalidraw-go
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${EXCALIDRAW_PORT:-8080}:8080"
|
||||
# ports:
|
||||
# - "${EXCALIDRAW_PORT:-8080}:8080"
|
||||
environment:
|
||||
# Authentification Basic optionnelle (laisser vide pour la désactiver,
|
||||
# par exemple derrière un reverse proxy qui gère déjà l'authentification).
|
||||
@@ -32,11 +32,13 @@ services:
|
||||
volumes:
|
||||
# Volume nommé : les droits (uid 65532) sont hérités de l'image.
|
||||
# Pour un bind mount (ex. ./data:/data), faire `chown -R 65532:65532 ./data`.
|
||||
- excalidraw-data:/data
|
||||
- ./data:/data
|
||||
read_only: true
|
||||
cap_drop: [ALL]
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
volumes:
|
||||
excalidraw-data:
|
||||
networks:
|
||||
- traefik-net
|
||||
networks:
|
||||
traefik-net:
|
||||
external: true
|
||||
Reference in new issue
Block a user