Browse Source
Feature/set node env in docker compose files (#1261)
* Set NODE_ENV to production
* Update changelog
pull/1266/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
0 deletions
-
CHANGELOG.md
-
docker/docker-compose.build.yml
-
docker/docker-compose.yml
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
## Unreleased |
|
|
## Unreleased |
|
|
|
|
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
|
|
|
|
- Added `NODE_ENV: production` to the `docker-compose` files (`docker-compose.yml` and `docker-compose.build.yml`) |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
|
|
|
|
|
- Improved the language localization for German (`de`) |
|
|
- Improved the language localization for German (`de`) |
|
|
|
@ -6,6 +6,7 @@ services: |
|
|
- ../.env |
|
|
- ../.env |
|
|
environment: |
|
|
environment: |
|
|
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer |
|
|
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer |
|
|
|
|
|
NODE_ENV: production |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
ports: |
|
|
ports: |
|
|
|
@ -6,6 +6,7 @@ services: |
|
|
- ../.env |
|
|
- ../.env |
|
|
environment: |
|
|
environment: |
|
|
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer |
|
|
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer |
|
|
|
|
|
NODE_ENV: production |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_HOST: 'redis' |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD} |
|
|
ports: |
|
|
ports: |
|
|