Commit cd18eb81feb2a3e8a87ad286cc2dbd61b2664268

Authored by hitier
1 parent a3a7097e
Exists in rhitier-dev

Allow port configuration by env var

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
compose.env-dist 0 → 100644
... ... @@ -0,0 +1 @@
  1 +PORT=8087
... ...
compose.yaml
... ... @@ -16,7 +16,7 @@ services:
16 16 volumes:
17 17 - ./resources/heliopropa.nginx.docker:/etc/nginx/conf.d/default.conf
18 18 ports:
19   - - "8080:80"
  19 + - "${PORT:-8080}:80"
20 20 depends_on:
21 21 - web
22 22  
... ...