diff --git a/Dockerfile b/Dockerfile index a98a716..12a4e4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ COPY api/ /opt/Fitness/ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf # Expose ports -EXPOSE 8069 +EXPOSE 8069, 5000 # healthcheck looks for apache HEALTHCHECK CMD netstat -ltn | grep -c ":8069" > /dev/null; if [ 0 != $? ]; then exit 1; fi; diff --git a/docker-compose.yaml b/docker-compose.yaml index 03a4f0e..4c7cf1e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,6 +12,7 @@ services: network_mode: bridge ports: - "8069:8069" + - "5000:5000" volumes: # make sure to keep the database file - "./database:/opt/Fitness/db_file"