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: tls:
certResolver: letsencrypt certResolver: letsencrypt
fin-router: # fin-router:
rule: "Host(`fin.furyhawk.lol`)" # rule: "Host(`fin.furyhawk.lol`)"
entryPoints: # entryPoints:
- web-secure # - web-secure
middlewares: # middlewares:
- csrf # - csrf
service: streamlit_fin_app # service: streamlit_fin_app
tls: # tls:
certResolver: letsencrypt # certResolver: letsencrypt
info-router: info-router:
rule: "Host(`furyhawk.lol`, `www.furyhawk.lol`, `info.furyhawk.lol`, `124c41.furyhawk.lol`)" 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 source: ${PWD}/cache/short_cache.sqlite
target: /app/short_cache.sqlite target: /app/short_cache.sqlite
streamlit-fin: # streamlit-fin:
environment: # environment:
<<: *default-environment # <<: *default-environment
build: # build:
context: . # context: .
dockerfile: ./compose/streamlit-fin/Dockerfile # dockerfile: ./compose/streamlit-fin/Dockerfile
image: streamlit_fin_production # image: streamlit_fin_production
container_name: streamlit_fin_app # container_name: streamlit_fin_app
restart: unless-stopped # restart: unless-stopped
expose: # expose:
- ${STREAMLIT_FIN_SERVER_PORT} # - ${STREAMLIT_FIN_SERVER_PORT}
networks: # networks:
- net # - net
- default # - default
command: streamlit run --server.port=$STREAMLIT_FIN_SERVER_PORT --server.address=0.0.0.0 --server.baseUrlPath=$FIN_LOCATION src/app.py # command: streamlit run --server.port=$STREAMLIT_FIN_SERVER_PORT --server.address=0.0.0.0 --server.baseUrlPath=$FIN_LOCATION src/app.py
site_server: site_server:
image: nginx:alpine image: nginx:alpine