Clean up docker-compose.yml: remove misleading Traefik labels and custom network (handled by SAAC daemon)
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build:
|
build:
|
||||||
@@ -24,8 +22,6 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
networks:
|
|
||||||
- app-network
|
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -34,16 +30,9 @@ services:
|
|||||||
timeout: 3s
|
timeout: 3s
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
retries: 2
|
retries: 2
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.template-001.rule=Host(`template-001.startanaicompany.com`)"
|
|
||||||
- "traefik.http.routers.template-001.entrypoints=websecure"
|
|
||||||
- "traefik.http.routers.template-001.tls=true"
|
|
||||||
- "traefik.http.routers.template-001.tls.certresolver=letsencrypt"
|
|
||||||
- "traefik.http.services.template-001.loadbalancer.server.port=3000"
|
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:15-alpine
|
image: postgres:16-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
@@ -51,8 +40,6 @@ services:
|
|||||||
- POSTGRES_DB=template_db
|
- POSTGRES_DB=template_db
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
networks:
|
|
||||||
- app-network
|
|
||||||
expose:
|
expose:
|
||||||
- "5432"
|
- "5432"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -67,8 +54,6 @@ services:
|
|||||||
command: redis-server --appendonly yes
|
command: redis-server --appendonly yes
|
||||||
volumes:
|
volumes:
|
||||||
- redis-data:/data
|
- redis-data:/data
|
||||||
networks:
|
|
||||||
- app-network
|
|
||||||
expose:
|
expose:
|
||||||
- "6379"
|
- "6379"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -82,7 +67,3 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
redis-data:
|
redis-data:
|
||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
networks:
|
|
||||||
app-network:
|
|
||||||
driver: bridge
|
|
||||||
|
|||||||
Reference in New Issue
Block a user