-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
95 lines (89 loc) · 1.96 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: '3.9'
services:
process:
build: .
hostname: process
container_name: aps_process
networks:
- aps-network
environment:
JAVA_OPTS: " -Xms256m -Xmx1g"
ports:
- 8080:8080
depends_on:
- postgres
- elasticsearch
- process-admin
volumes:
- aps-contentstore-sa-volume:/act_data
process-admin:
build:
context: .
dockerfile: Dockerfile-admin
hostname: process-admin
container_name: aps_process_admin
networks:
- aps-network
environment:
JAVA_OPTS: " -Xms256m -Xmx512m"
ports:
- 9090:9090
depends_on:
- postgres-admin
elasticsearch:
hostname: elasticsearch
container_name: aps_elasticsearch
networks:
- aps-network
image: elasticsearch:7.17.1
environment:
discovery.type: single-node
ES_JAVA_OPTS: -Xms512m -Xmx512m
ports:
- 9300:9300
- 9200:9200
volumes:
- aps-es-sa-volume:/usr/share/elasticsearch/data
postgres:
hostname: postgres
container_name: aps_postgres
networks:
- aps-network
image: postgres:13.1
environment:
POSTGRES_DB: activiti
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
ports:
- 5432:5432
volumes:
- aps-db-sa-volume:/var/lib/postgresql/data
postgres-admin:
hostname: postgres-admin
container_name: aps_postgres_admin
networks:
- aps-network
image: postgres:13.1
environment:
POSTGRES_DB: activiti-admin
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
ports:
- 5433:5433
expose:
- "5433"
volumes:
- aps-admin-db-sa-volume:/var/lib/postgresql/data
command: -p 5433
networks:
aps-network:
name: aps-network
volumes:
aps-db-sa-volume:
external: true
aps-admin-db-sa-volume:
external: true
aps-contentstore-sa-volume:
external: true
aps-es-sa-volume:
external: true