Last active
May 25, 2021 08:22
-
-
Save patrixr/80712d9fa00f6a9180914e39818db341 to your computer and use it in GitHub Desktop.
GoodChat Docker Compose
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
version: "3.9" | |
services: | |
goodchat: | |
image: goodregistry.azurecr.io/goodchat/goodchat:latest | |
ports: | |
- "8000:8000" | |
environment: | |
- PORT=8000 | |
- GOODCHAT_AUTH_URL=https://api-staging.goodcity.hk/api/v2/auth/goodchat | |
- DB_HOST=postgres_goodchat | |
- DB_CREDENTIALS=postgres:postgres | |
- DB_NAME=goodchat_database | |
- ENABLE_MIGRATIONS=true | |
- REDIS_URL=redis://redis_goodchat:6379 | |
- NODE_ENV=development | |
- SMOOCH_APP_ID | |
- SMOOCH_API_KEY_ID | |
- SMOOCH_API_KEY_SECRET | |
postgres_goodchat: | |
image: postgres:latest | |
environment: | |
- POSTGRES_USER=postgres | |
- POSTGRES_PASSWORD=postgres | |
- POSTGRES_DB=goodchat_database | |
volumes: | |
- goodchat_database_data:/var/lib/postgresql/data | |
redis_goodchat: | |
image: "redis:alpine" | |
volumes: | |
goodchat_database_data: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment