expose api

This commit is contained in:
matt committed 2026-10-17 05:56:32 -07:00
1 parent a08a4c0314
commit dc44886f54
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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;
+1
View File
@@ -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"