projects
/
demos
/
spring
/
data-jdbc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added a script that illustrates the example
[demos/spring/data-jdbc]
/
docker-compose.yml
1
version: "3"
2
3
services:
4
jdbc:
5
image: juplo/data-jdbc:latest
6
ports:
7
- 8080:8080
8
environment:
9
spring.profiles.active: prod
10
depends_on:
11
- postgres
12
13
postgres:
14
image: postgres:13
15
ports:
16
- 5432:5432
17
environment:
18
POSTGRES_USER: outbox
19
POSTGRES_PASSWORD: outbox
20
POSTGRES_DB: outbox
21
volumes:
22
- pgdata:/var/lib/postgresql/data/
23
24
volumes:
25
pgdata: