Docker Fixes (#5)

This commit is contained in:
Sören Johanson 2024-08-23 11:48:23 +02:00 committed by GitHub
parent 3bd94d6118
commit aaca099bc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -1 +1,3 @@
REDIS_PASSWORD=CHANGE_ME
POSTGRES_USER=excalidraw-user
POSTGRES_PASSWORD=
POSTGRES_DB=excalidraw-dev

View File

@ -23,7 +23,7 @@ services:
- "5011:8080"
restart: always
environment:
STORAGE_URI: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
STORAGE_URI: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-excalidraw-prod}
excalidraw-room:
image: excalidraw/excalidraw-room

View File

@ -26,7 +26,7 @@ services:
ports:
- "8080:8080"
environment:
STORAGE_URI: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
STORAGE_URI: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-excalidraw-dev}
excalidraw-room:
image: excalidraw/excalidraw-room