chore: move environment variables file to formatted key value
This commit is contained in:
parent
6f67559166
commit
f75e545bc5
|
@ -1,7 +1,16 @@
|
|||
services:
|
||||
api:
|
||||
build: ./api/
|
||||
env_file: ./api/.env
|
||||
environment:
|
||||
ENV: production
|
||||
PORT: 5000
|
||||
HOSTNAME: "0.0.0.0"
|
||||
REDIS_URL: redis://@cache:6379
|
||||
MINIO_HOST: bucket:9000
|
||||
MINIO_ACCESS_ID: minio
|
||||
MINIO_SECRET_KEY: password
|
||||
MINIO_TOKEN: ""
|
||||
SENTRY_DSN: ""
|
||||
ports:
|
||||
- 5000:5000
|
||||
healthcheck:
|
||||
|
@ -33,8 +42,12 @@ services:
|
|||
|
||||
client:
|
||||
build: ./client/
|
||||
restart: always
|
||||
env_file: ./client/.env
|
||||
environment:
|
||||
PORT: 3000
|
||||
VITE_NODE_ENV: production
|
||||
VITE_SERVER_API_ENDPOINT: http://api:5000
|
||||
VITE_BROWSER_API_ENDPOINT: http://localhost:3000
|
||||
VITE_SENTRY_DSN: ""
|
||||
ports:
|
||||
- 3000:3000
|
||||
healthcheck:
|
||||
|
|
Loading…
Reference in New Issue