This commit is contained in:
PB
2022-10-06 20:40:27 +02:00
parent a811386ee3
commit 2da3dd13d1
16 changed files with 95 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
version: "3.9"
services:
postgres_svc:
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=12345678
identity_svc:
environment:
- DATABASE_URL=postgres://postgres:12345678@postgres_svc:5432/egommerce
basket_svc:
environment:
- DATABASE_URL=postgres://postgres:12345678@postgres_svc:5432/egommerce
volumes:
postgres_data: ~