fix: make port configurable via env

This commit is contained in:
Dominik Siebel 2024-09-17 09:25:31 +02:00 committed by Daniel Molkentin
parent 7bc8f3bdb6
commit a977f3cfd0
2 changed files with 5 additions and 2 deletions

2
.env
View File

@ -1,4 +1,6 @@
EOS_VERSION=latest
EOS_PORT=8000
MARIADB_VERSION=11.1.6
PYTHON_VERSION=3.12.6

View File

@ -13,11 +13,12 @@ services:
depends_on:
- 'mariadb'
init: true
environment: {}
environment:
FLASK_RUN_PORT: '${EOS_PORT}'
networks:
- 'eos'
ports:
- '5000:5000'
- '${EOS_PORT}:${EOS_PORT}'
mariadb:
image: 'mariadb:${MARIADB_VERSION}-jammy'
environment: