mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: update network configuration to use 'backend' instead of dynamic deployment name
This commit is contained in:
parent
03dccc692b
commit
93fb7ca287
1 changed files with 5 additions and 6 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
version: "3.9"
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build:
|
build:
|
||||||
|
|
@ -47,7 +46,7 @@ services:
|
||||||
- "traefik.http.services.${DEPLOYMENT_NAME:-learnhouse}.loadbalancer.server.port=80"
|
- "traefik.http.services.${DEPLOYMENT_NAME:-learnhouse}.loadbalancer.server.port=80"
|
||||||
- "traefik.http.routers.${DEPLOYMENT_NAME:-learnhouse}.tls=true"
|
- "traefik.http.routers.${DEPLOYMENT_NAME:-learnhouse}.tls=true"
|
||||||
networks:
|
networks:
|
||||||
- ${DEPLOYMENT_NAME:-learnhouse}-network
|
- backend
|
||||||
- traefik
|
- traefik
|
||||||
|
|
||||||
db:
|
db:
|
||||||
|
|
@ -67,7 +66,7 @@ services:
|
||||||
timeout: 4s
|
timeout: 4s
|
||||||
retries: 5
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- ${DEPLOYMENT_NAME:-learnhouse}-network
|
- backend
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7.2.3
|
image: redis:7.2.3
|
||||||
|
|
@ -87,7 +86,7 @@ services:
|
||||||
timeout: 4s
|
timeout: 4s
|
||||||
retries: 5
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- ${DEPLOYMENT_NAME:-learnhouse}-network
|
- backend
|
||||||
|
|
||||||
chromadb:
|
chromadb:
|
||||||
image: chromadb/chroma:0.5.16
|
image: chromadb/chroma:0.5.16
|
||||||
|
|
@ -100,7 +99,7 @@ services:
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- ${DEPLOYMENT_NAME:-learnhouse}-network
|
- backend
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres-data:
|
postgres-data:
|
||||||
|
|
@ -108,7 +107,7 @@ volumes:
|
||||||
app-uploads:
|
app-uploads:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
${DEPLOYMENT_NAME:-learnhouse}-network:
|
backend:
|
||||||
name: ${DEPLOYMENT_NAME:-learnhouse}-network
|
name: ${DEPLOYMENT_NAME:-learnhouse}-network
|
||||||
driver: bridge
|
driver: bridge
|
||||||
traefik:
|
traefik:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue