2020-06-18 10:46:24 +01:00
|
|
|
version: "3.8"
|
2020-04-29 08:53:07 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
excalidraw:
|
2024-01-01 18:05:48 +01:00
|
|
|
stdin_open: true
|
2020-06-18 10:46:24 +01:00
|
|
|
build:
|
|
|
|
context: .
|
2024-01-01 18:05:48 +01:00
|
|
|
target: development
|
2020-04-29 08:53:07 +03:00
|
|
|
container_name: excalidraw
|
|
|
|
ports:
|
2024-01-01 18:05:48 +01:00
|
|
|
- "3000:3000"
|
2020-04-29 08:53:07 +03:00
|
|
|
restart: on-failure
|
2020-06-18 10:46:24 +01:00
|
|
|
healthcheck:
|
|
|
|
disable: true
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=development
|
|
|
|
volumes:
|
2024-01-01 18:05:48 +01:00
|
|
|
- node_modules:/opt/node_app/node_modules
|
|
|
|
- ./:/opt/node_app/
|
|
|
|
|
|
|
|
excalidraw-storage-backend:
|
|
|
|
build:
|
|
|
|
context: https://github.com/kitsteam/excalidraw-storage-backend.git#main
|
|
|
|
target: production
|
2024-08-21 17:10:57 +02:00
|
|
|
stdin_open: true
|
2024-01-01 18:05:48 +01:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
environment:
|
2024-08-23 11:48:23 +02:00
|
|
|
STORAGE_URI: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT:-5432}/${POSTGRES_DB:-excalidraw-dev}
|
2020-06-18 10:46:24 +01:00
|
|
|
|
2024-01-01 18:05:48 +01:00
|
|
|
excalidraw-room:
|
|
|
|
image: excalidraw/excalidraw-room
|
|
|
|
ports:
|
|
|
|
- "5001:80"
|
2024-08-21 17:10:57 +02:00
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:15-alpine
|
|
|
|
# Pass config parameters to the postgres server.
|
|
|
|
# Find more information below when you need to generate the ssl-relevant file your self
|
|
|
|
# command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
|
|
|
|
environment:
|
|
|
|
PGDATA: /var/lib/postgresql/data/pgdata
|
|
|
|
POSTGRES_DB: ${POSTGRES_DB:-excalidraw-dev}
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
|
|
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
2024-01-01 18:05:48 +01:00
|
|
|
volumes:
|
2024-08-21 17:10:57 +02:00
|
|
|
- postgres_data:/var/lib/postgresql/data/pgdata
|
|
|
|
#ports:
|
|
|
|
# - "5432:5432"
|
2020-06-18 10:46:24 +01:00
|
|
|
volumes:
|
2024-08-21 17:10:57 +02:00
|
|
|
postgres_data:
|
2024-01-01 18:05:48 +01:00
|
|
|
node_modules:
|