2020-06-23 22:20:53 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
2020-07-19 00:28:25 +02:00
|
|
|
web:
|
|
|
|
build: .
|
2020-07-05 01:02:57 +02:00
|
|
|
ports:
|
2020-07-19 00:28:25 +02:00
|
|
|
- "3333:3333"
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
networks:
|
|
|
|
- citadel-test
|
|
|
|
postgres:
|
|
|
|
image: postgres:12.3-alpine
|
2020-07-05 01:02:57 +02:00
|
|
|
restart: always
|
2020-07-19 00:28:25 +02:00
|
|
|
networks:
|
|
|
|
- citadel-test
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: citadel
|
|
|
|
POSTGRES_PASSWORD: citadel_test
|
|
|
|
POSTGRES_DB: citadel
|
|
|
|
volumes:
|
|
|
|
- citadel-postgres:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
citadel-postgres:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
networks:
|
|
|
|
citadel-test:
|
|
|
|
driver: bridge
|