Skip to content

Commit

Permalink
chore: added required env vars to dockercompose and removed run-produ…
Browse files Browse the repository at this point in the history
…ction bin file
  • Loading branch information
geclos committed Sep 19, 2024
1 parent be937d9 commit 108cafc
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
13 changes: 0 additions & 13 deletions apps/gateway/docker/run-production.sh

This file was deleted.

13 changes: 0 additions & 13 deletions apps/workers/docker/run-production.sh

This file was deleted.

25 changes: 25 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,20 @@ services:
dockerfile: apps/gateway/docker/Dockerfile
profiles: [building]
environment:
- CACHE_HOST=redis
- DATABASE_URL=postgresql://latitude:secret@db:5432/latitude
- DEFAULT_PROJECT_ID=1
- DEFAULT_PROVIDER_API_KEY=test
- [email protected]
- LATITUDE_DOMAIN=web
- LATITUDE_URL=http://web:8080
- NODE_ENV=production
- QUEUE_HOST=redis
- WEBSOCKETS_SERVER=websockets
- WEBSOCKET_REFRESH_SECRET_TOKEN_KEY=test
- WEBSOCKET_SECRET_TOKEN_KEY=test
- WORKERS_WEBSOCKET_SECRET_TOKEN=test
- HOSTNAME=localhost
depends_on:
- db
- redis
Expand All @@ -51,7 +64,19 @@ services:
dockerfile: apps/workers/docker/Dockerfile
profiles: [building]
environment:
- CACHE_HOST=redis
- DATABASE_URL=postgresql://latitude:secret@db:5432/latitude
- DEFAULT_PROJECT_ID=1
- DEFAULT_PROVIDER_API_KEY=test
- [email protected]
- LATITUDE_DOMAIN=web
- LATITUDE_URL=http://web:8080
- NODE_ENV=production
- QUEUE_HOST=redis
- WEBSOCKETS_SERVER=websockets
- WEBSOCKET_REFRESH_SECRET_TOKEN_KEY=test
- WEBSOCKET_SECRET_TOKEN_KEY=test
- WORKERS_WEBSOCKET_SECRET_TOKEN=test
depends_on:
- db
- redis
Expand Down

0 comments on commit 108cafc

Please sign in to comment.