Refactor docker-compose.yml to update URLs and remove unnecessary network configurations

This commit is contained in:
2024-05-27 19:13:12 +08:00
parent f74c0b4342
commit 927238f955
3 changed files with 16 additions and 10 deletions
-10
View File
@@ -1,13 +1,3 @@
x-environment: &default-environment
LOG_LEVEL: "DEBUG"
ACME_PATH: "./acme.json"
NETWORK: "${NETWORK:-host}"
FIN_LOCATION: ""
STREAMLIT_FIN_SERVER_PORT: "8501"
GROQ_API_KEY: "${GROQ_API_KEY}"
BAI_LOCATION: ""
STREAMLIT_BAI_SERVER_PORT: "8502"
networks: networks:
net: net:
external: true external: true
+6
View File
@@ -1,3 +1,9 @@
x-environment: &default-environment
STREAMLIT_FIN_SERVER_PORT: "8501"
GROQ_API_KEY: "${GROQ_API_KEY}"
BAI_LOCATION: ""
STREAMLIT_BAI_SERVER_PORT: "8502"
volumes: volumes:
bai_cache: {} bai_cache: {}
ghost_content: {} ghost_content: {}
+10
View File
@@ -1,3 +1,12 @@
x-environment: &default-environment
LOG_LEVEL: "DEBUG"
ACME_PATH: "./acme.json"
NETWORK: "${NETWORK:-host}"
FIN_LOCATION: ""
STREAMLIT_FIN_SERVER_PORT: "8501"
GROQ_API_KEY: "${GROQ_API_KEY}"
BAI_LOCATION: ""
STREAMLIT_BAI_SERVER_PORT: "8502"
volumes: volumes:
logs: {} logs: {}
@@ -45,4 +54,5 @@ services:
# - "1883:1883" # - "1883:1883"
# - 18083:18083 # - 18083:18083
networks: networks:
- host
- net - net