Update traefik.yml to remove fin-router and streamlit-fin services

This commit is contained in:
2024-04-22 16:01:44 +08:00
parent 24d9ca0fb3
commit 583220b539
2 changed files with 24 additions and 24 deletions
+9 -9
View File
@@ -140,15 +140,15 @@ http:
tls:
certResolver: letsencrypt
fin-router:
rule: "Host(`fin.furyhawk.lol`)"
entryPoints:
- web-secure
middlewares:
- csrf
service: streamlit_fin_app
tls:
certResolver: letsencrypt
# fin-router:
# rule: "Host(`fin.furyhawk.lol`)"
# entryPoints:
# - web-secure
# middlewares:
# - csrf
# service: streamlit_fin_app
# tls:
# certResolver: letsencrypt
info-router:
rule: "Host(`furyhawk.lol`, `www.furyhawk.lol`, `info.furyhawk.lol`, `124c41.furyhawk.lol`)"
+15 -15
View File
@@ -97,21 +97,21 @@ services:
source: ${PWD}/cache/short_cache.sqlite
target: /app/short_cache.sqlite
streamlit-fin:
environment:
<<: *default-environment
build:
context: .
dockerfile: ./compose/streamlit-fin/Dockerfile
image: streamlit_fin_production
container_name: streamlit_fin_app
restart: unless-stopped
expose:
- ${STREAMLIT_FIN_SERVER_PORT}
networks:
- net
- default
command: streamlit run --server.port=$STREAMLIT_FIN_SERVER_PORT --server.address=0.0.0.0 --server.baseUrlPath=$FIN_LOCATION src/app.py
# streamlit-fin:
# environment:
# <<: *default-environment
# build:
# context: .
# dockerfile: ./compose/streamlit-fin/Dockerfile
# image: streamlit_fin_production
# container_name: streamlit_fin_app
# restart: unless-stopped
# expose:
# - ${STREAMLIT_FIN_SERVER_PORT}
# networks:
# - net
# - 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