expose flask port

This commit is contained in:
Dominik Siebel 2024-09-17 09:02:35 +02:00 committed by Daniel Molkentin
parent 101d25eee8
commit 298b93c595
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,8 @@ FROM python:${PYTHON_VERSION}-slim
LABEL source="https://github.com/Akkudoktor-EOS/EOS" LABEL source="https://github.com/Akkudoktor-EOS/EOS"
EXPOSE 5000
ARG APT_OPTS="--yes --auto-remove --no-install-recommends --no-install-suggests" ARG APT_OPTS="--yes --auto-remove --no-install-recommends --no-install-suggests"
RUN DEBIAN_FRONTEND=noninteractive \ RUN DEBIAN_FRONTEND=noninteractive \
apt-get update \ apt-get update \

View File

@ -16,6 +16,8 @@ services:
environment: {} environment: {}
networks: networks:
- 'eos' - 'eos'
ports:
- '5000:5000'
mariadb: mariadb:
image: 'mariadb:${MARIADB_VERSION}-jammy' image: 'mariadb:${MARIADB_VERSION}-jammy'
environment: environment: