-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (53 loc) · 1.21 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
services:
pr-server:
image: docker.io/hlseven/davinci-postable-remittance-server:latest
environment:
- DB_NAME=postgres
- DB_USERNAME=postgres
- DB_PASSWORD=password
- DB_ADMIN_USERNAME=postgres
- DB_HOST=postgresql-server
- LOGICAL_ENV_NAME=local
- SERVICE_NAME=postable-remittance
- DB_ADMIN_PASSWORD=password
- DB_PORT=5432
ports:
- 8080:8080
volumes: [ ]
deploy:
replicas: 1
resources:
limits: { }
reservations:
memory: 1500M
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
networks:
- postable-remittance_network
postgresql-server:
image: docker.io/postgres:16
environment:
- POSTGRES_PASSWORD=password
ports:
- 5432:5432
volumes: [ ]
deploy:
replicas: 1
resources:
limits: { }
reservations:
memory: 32M
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
window: 120s
networks:
- postable-remittance_network
networks:
postable-remittance_network:
name: postable-remittance_network
volumes: { }