mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
fix: make port configurable via env
This commit is contained in:
parent
1d19d8de25
commit
738fa12822
2
.env
2
.env
@ -1,4 +1,6 @@
|
|||||||
EOS_VERSION=latest
|
EOS_VERSION=latest
|
||||||
|
EOS_PORT=8000
|
||||||
|
|
||||||
MARIADB_VERSION=11.1.6
|
MARIADB_VERSION=11.1.6
|
||||||
PYTHON_VERSION=3.12.6
|
PYTHON_VERSION=3.12.6
|
||||||
|
|
||||||
|
@ -13,11 +13,12 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- 'mariadb'
|
- 'mariadb'
|
||||||
init: true
|
init: true
|
||||||
environment: {}
|
environment:
|
||||||
|
FLASK_RUN_PORT: '${EOS_PORT}'
|
||||||
networks:
|
networks:
|
||||||
- 'eos'
|
- 'eos'
|
||||||
ports:
|
ports:
|
||||||
- '5000:5000'
|
- '${EOS_PORT}:${EOS_PORT}'
|
||||||
mariadb:
|
mariadb:
|
||||||
image: 'mariadb:${MARIADB_VERSION}-jammy'
|
image: 'mariadb:${MARIADB_VERSION}-jammy'
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user