-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
60 lines (59 loc) · 1.57 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
54
55
56
57
58
59
60
version: '3'
services:
site:
image : "totocastaldi/personal-finance-site:${TAG}"
ports:
- "127.0.0.1:8080:80"
volumes:
- /config/config-fe.json:/data/www/config.json
api:
image : "totocastaldi/personal-finance-api:${TAG}"
ports:
- "5000:5000"
links:
- postgresql
depends_on:
- postgresql-liquibase
environment:
- LOG_LEVEL=INFO
- LOG_FILE_NAME=api
volumes:
- /var/lib/buddy/log:/app/log
- /var/lib/buddy/upload:/upload
- /var/lib/buddy/config/config-be.json:/app/common/config.json
batch:
image : "totocastaldi/personal-finance-batch:${TAG}"
links:
- postgresql
depends_on:
- postgresql-liquibase
environment:
- LOG_LEVEL=DEBUG
- LOG_FILE_NAME=batch
volumes:
- /var/lib/buddy/upload:/upload
- /var/lib/buddy/worked:/worked
- /var/lib/buddy/unknow:/unknow
- /var/lib/buddy/error:/error
- /var/lib/buddy/log:/app/log
- /var/lib/buddy/config/config-be.json:/app/common/config.json
postgresql:
image: postgres:11.5
volumes:
- personal-finance-postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=dbpsql
- POSTGRES_USER=dbpsql
- POSTGRES_DB=dbpsql
postgresql-liquibase:
image: totocastaldi/personal-finance-liquibase:${TAG}
environment:
- LIQUIBASE_URL=jdbc:postgresql://postgresql/dbpsql
- LIQUIBASE_USERNAME=dbpsql
- LIQUIBASE_PASSWORD=dbpsql
links:
- postgresql
depends_on:
- postgresql
volumes:
personal-finance-postgres: