mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
fix: make port configurable via env
This commit is contained in:
parent
7bc8f3bdb6
commit
a977f3cfd0
2
.env
2
.env
@ -1,4 +1,6 @@
|
||||
EOS_VERSION=latest
|
||||
EOS_PORT=8000
|
||||
|
||||
MARIADB_VERSION=11.1.6
|
||||
PYTHON_VERSION=3.12.6
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user