Skip to content

Commit

Permalink
chore(docker-compose): fix EDITION var warnings (#363)
Browse files Browse the repository at this point in the history
Because

- warnings on `make` for `EDITION`

This commit

- add a default value (empty string)

```
 !  ~/w/i/vdp   main …  make stop
WARN[0000] The "EDITION" variable is not set. Defaulting to a blank string. 
WARN[0000] The "EDITION" variable is not set. Defaulting to a blank string. 
WARN[0000] The "EDITION" variable is not set. Defaulting to a blank string. 
WARN[0000] The "EDITION" variable is not set. Defaulting to a blank string. 
[+] Stopping 5/5
 ✔ Container pipeline-backend-worker  Stopped                                                                                                                                                                                                                                                                                                                                                                                                                                              0.5s 
 ✔ Container connector-backend        Stopped                                                                                                                                                                                                                                                                                                                                                                                                                                              1.5s 
 ✔ Container controller-vdp           Stopped                                                                                                                                                                                                                                                                                                                                                                                                                                              0.5s 
 ✔ Container pipeline-backend         Stopped                                                                                                                                                                                                                                                                                                                                                                                                                                              2.6s 
 ✔ Container socat                    Stopped                                                                                                                                                                                                                                                                                                                                                                                                                                              0.4s 
```
  • Loading branch information
Tobias Cudnik authored Sep 26, 2023
1 parent 1db4632 commit d3a52ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
CFG_SERVER_DEBUG: "false"
CFG_SERVER_MAXDATASIZE: ${MAX_DATA_SIZE}
CFG_SERVER_USAGE_ENABLED: ${USAGE_ENABLED}
CFG_SERVER_EDITION: ${EDITION}
CFG_SERVER_EDITION: ${EDITION:-}
CFG_DATABASE_HOST: ${POSTGRESQL_HOST}
CFG_DATABASE_PORT: ${POSTGRESQL_PORT}
CFG_DATABASE_USERNAME: postgres
Expand Down Expand Up @@ -62,7 +62,7 @@ services:
CFG_SERVER_DEBUG: "false"
CFG_SERVER_MAXDATASIZE: ${MAX_DATA_SIZE}
CFG_SERVER_USAGE_ENABLED: ${USAGE_ENABLED}
CFG_SERVER_EDITION: ${EDITION}
CFG_SERVER_EDITION: ${EDITION:-}
CFG_DATABASE_HOST: ${POSTGRESQL_HOST}
CFG_DATABASE_PORT: ${POSTGRESQL_PORT}
CFG_DATABASE_USERNAME: postgres
Expand Down Expand Up @@ -121,7 +121,7 @@ services:
CFG_SERVER_PUBLICPORT: ${CONNECTOR_BACKEND_PUBLICPORT}
CFG_SERVER_DEBUG: "false"
CFG_SERVER_USAGE_ENABLED: ${USAGE_ENABLED}
CFG_SERVER_EDITION: ${EDITION}
CFG_SERVER_EDITION: ${EDITION:-}
CFG_DATABASE_HOST: ${POSTGRESQL_HOST}
CFG_DATABASE_PORT: ${POSTGRESQL_PORT}
CFG_DATABASE_USERNAME: postgres
Expand All @@ -147,7 +147,7 @@ services:
restart: unless-stopped
environment:
CFG_SERVER_DEBUG: "false"
CFG_SERVER_EDITION: ${EDITION}
CFG_SERVER_EDITION: ${EDITION:-}
CFG_DATABASE_HOST: ${POSTGRESQL_HOST}
CFG_DATABASE_PORT: ${POSTGRESQL_PORT}
CFG_DATABASE_USERNAME: postgres
Expand Down

0 comments on commit d3a52ac

Please sign in to comment.