Added data-jdbc as git submodule jdbc
[demos/kafka/outbox] / docker-compose.yml
1 version: "3"
2
3 services:
4
5   jdbc:
6     image: juplo/data-jdbc:polling-outbox-2-SNAPSHOT
7     ports:
8       - 8080:8080
9     environment:
10       spring.profiles.active: prod
11     depends_on:
12       - postgres
13
14
15   postgres:
16     image: postgres:13
17     ports:
18       - 5432:5432
19     environment:
20       POSTGRES_USER: outbox
21       POSTGRES_PASSWORD: outbox
22       POSTGRES_DB: outbox
23     volumes:
24       - pgdata:/var/lib/postgresql/data/
25
26 volumes:
27   pgdata: