Created
October 4, 2022 11:45
-
-
Save casperklein/b7cd99c787539c661d5bfe5320b6e04e to your computer and use it in GitHub Desktop.
hemmelig
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: | |
| hemmelig: | |
| image: hemmeligapp/hemmelig:bleeding-edge #latest | |
| hostname: hemmelig | |
| init: true | |
| volumes: | |
| - ./data/hemmelig/:/var/tmp/hemmelig/upload/files | |
| environment: | |
| - SECRET_REDIS_HOST=redis | |
| - SECRET_DISABLE_USERS=true | |
| - SECRET_JWT_SECRET=foobar | |
| - SECRET_FILE_SIZE=10 # 10 MB | |
| - SECRET_MAX_TEXT_SIZE=1024 # 1024 KB == 1 MB | |
| ports: | |
| - "3000:3000" | |
| depends_on: | |
| - redis | |
| restart: always | |
| stop_grace_period: 1m | |
| redis: | |
| image: redis | |
| hostname: redis | |
| init: true | |
| volumes: | |
| - ./data/redis/:/data | |
| command: | |
| - 'redis-server' | |
| - '--appendonly' | |
| - 'yes' | |
| ports: | |
| - 6379:6379 | |
| restart: always | |
| stop_grace_period: 1m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment