Skip to content

Commit ff092fa

Browse files
committed
ci: move postgres to infra
1 parent e984111 commit ff092fa

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

docker-compose.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,27 @@ services:
3434
- "traefik.http.routers.simonapi-backend.priority=100"
3535
# Interner Container-Port des Backends (ggf. anpassen)
3636
- "traefik.http.services.simonapi-backend.loadbalancer.server.port=3000"
37-
depends_on:
38-
- postgres
37+
# depends_on:
38+
# - postgres
3939
networks:
4040
- postgresql
4141

42-
postgres:
43-
image: postgres:17.5-alpine
44-
env_file:
45-
- ./conf/postgres/.env
46-
volumes:
47-
- ../postgres:/var/lib/postgresql/data
48-
healthcheck:
49-
test: ['CMD-SHELL', 'pg_isready -U user -d simonapi']
50-
interval: 10s
51-
timeout: 10s
52-
retries: 5
53-
restart: unless-stopped
54-
networks:
55-
- postgresql
42+
# postgres:
43+
# image: postgres:17.5-alpine
44+
# env_file:
45+
# - ./conf/postgres/.env
46+
# volumes:
47+
# - ../postgres:/var/lib/postgresql/data
48+
# healthcheck:
49+
# test: ['CMD-SHELL', 'pg_isready -U user -d simonapi']
50+
# interval: 10s
51+
# timeout: 10s
52+
# retries: 5
53+
# restart: unless-stopped
54+
# networks:
55+
# - postgresql
5656

5757
networks:
5858
postgresql:
59-
name: NET_POSTGRESQL
59+
name: NET_POSTGRESQL
60+
external: true

0 commit comments

Comments
 (0)