Created
April 4, 2025 07:12
-
-
Save vbogretsov/dc88ff33bd4dfb1d1b60f85c39fdc517 to your computer and use it in GitHub Desktop.
excalidraw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
excalidraw: | |
image: vbogretsov/excalidraw:0.18 | |
restart: on-failure | |
ports: | |
- 8000:80 | |
environment: | |
- VITE_APP_BACKEND_V2_GET_URL=https://storage/api/v2/scenes/ | |
- VITE_APP_BACKEND_V2_POST_URL=https://storage/api/v2/scenes/ | |
- VITE_APP_WS_SERVER_URL=http://room/ | |
- VITE_APP_FIREBASE_CONFIG={} | |
- VITE_APP_HTTP_STORAGE_BACKEND_URL=http://storage/api/v2 | |
- VITE_APP_STORAGE_BACKEND=http | |
- VITE_APP_DISABLE_TRACKING=true | |
- PUBLIC_URL=https://localhost:8000 | |
- LOG_LEVEL=debug | |
depends_on: | |
- storage | |
- room | |
room: | |
image: vbogretsov/excalidraw-room:latest | |
restart: on-failure | |
environment: | |
- LOG_LEVEL=debug | |
storage: | |
image: vbogretsov/excalidraw-storage:latest | |
environment: | |
- STORAGE_URI=redis://redis:6379 | |
- LOG_LEVEL=debug | |
depends_on: | |
- redis | |
redis: | |
image: redis:7.4.2 | |
volumes: | |
- redis:/data | |
- ./redis.conf:/local/redis/redis.conf | |
command: /local/redis/redis.conf | |
volumes: | |
redis: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable AOF (Append-Only File) | |
appendonly yes | |
# AOF fsync policy: fsync on every operation | |
appendfsync always | |
# AOF auto-rewrite percentage | |
auto-aof-rewrite-percentage 100 | |
# AOF auto-rewrite minimum size | |
auto-aof-rewrite-min-size 64mb | |
# Save checkpoints on each operation | |
aof-rewrite-incremental-fsync yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment