Update docker-compose.yml

This commit is contained in:
cedric committed 2026-10-07 18:17:16 +02:00
1 parent 50d40cd929
commit e129015f2f
1 file changed
+8 -6
+8 -6
View File
@@ -9,8 +9,8 @@ services:
image: excalidraw-go:local image: excalidraw-go:local
container_name: excalidraw-go container_name: excalidraw-go
restart: unless-stopped restart: unless-stopped
ports: # ports:
- "${EXCALIDRAW_PORT:-8080}:8080" # - "${EXCALIDRAW_PORT:-8080}:8080"
environment: environment:
# Authentification Basic optionnelle (laisser vide pour la désactiver, # Authentification Basic optionnelle (laisser vide pour la désactiver,
# par exemple derrière un reverse proxy qui gère déjà l'authentification). # par exemple derrière un reverse proxy qui gère déjà l'authentification).
@@ -32,11 +32,13 @@ services:
volumes: volumes:
# Volume nommé : les droits (uid 65532) sont hérités de l'image. # 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`. # Pour un bind mount (ex. ./data:/data), faire `chown -R 65532:65532 ./data`.
- excalidraw-data:/data - ./data:/data
read_only: true read_only: true
cap_drop: [ALL] cap_drop: [ALL]
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
networks:
volumes: - traefik-net
excalidraw-data: networks:
traefik-net:
external: true