Update Traefik configuration and add site server

This commit is contained in:
2024-03-01 12:55:38 +08:00
parent 0bbb4a3ce9
commit b91c644179
2 changed files with 28 additions and 8 deletions
+12
View File
@@ -70,6 +70,18 @@ services:
- default
command: streamlit run --server.port=$STREAMLIT_FIN_SERVER_PORT --server.address=0.0.0.0 --server.baseUrlPath=$FIN_LOCATION src/app.py
site_server:
image: nginx:alpine
container_name: site_server
restart: unless-stopped
volumes:
- ./site:/usr/share/nginx/html:ro
networks:
- net
- default
expose:
- 80
traefik:
environment:
<<: *default-environment