diff --git a/docker-compose.yml b/docker-compose.yml index 59b9b3f..e30c71c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: