expose api
This commit is contained in:
1 parent
a08a4c0314
commit
dc44886f54
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user