added persistence volumes
This commit is contained in:
parent
8a0ccc61a5
commit
7caee29b23
@ -24,16 +24,21 @@ services:
|
||||
- activiti-app
|
||||
volumes:
|
||||
- ./activiti-admin.properties:/usr/local/tomcat/lib/activiti-admin.properties
|
||||
- apsapp-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
postgres-aps:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_DB: activiti
|
||||
volumes:
|
||||
- apsdb-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
postgres-aps-admin:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_DB: activiti-admin
|
||||
volumes:
|
||||
- apsadmindb-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
search-aps:
|
||||
image: elasticsearch:latest
|
||||
@ -45,6 +50,8 @@ services:
|
||||
hard: -1
|
||||
depends_on:
|
||||
- activit-app
|
||||
volumes:
|
||||
- esindex-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
@ -54,3 +61,13 @@ services:
|
||||
depends_on:
|
||||
- activiti-app
|
||||
- activiti-admin
|
||||
|
||||
volumes:
|
||||
apsbin-volume:
|
||||
driver: local
|
||||
apsdb-volume:
|
||||
driver: local
|
||||
apsadmindb-volume:
|
||||
driver: local
|
||||
esindex-volume:
|
||||
driver: local
|
||||
|
Loading…
x
Reference in New Issue
Block a user