diff --git a/docker-compose.yml b/docker-compose.yml index fd8fe79..cccaaeb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,7 @@ services: - postgres-aps volumes: - "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro" + - apsbin-volume:/var/lib/postgresql/data:rw activiti-admin: image: alfresco/process-services-admin:1.11.1.1 @@ -47,6 +48,8 @@ services: POSTGRES_USER: alfresco POSTGRES_PASSWORD: alfresco command: postgres -c max_connections=300 -c log_min_messages=LOG + volumes: + - apsdb-volume:/var/lib/postgresql/data:rw postgres-aps-admin: image: postgres:11.6 @@ -56,6 +59,8 @@ services: POSTGRES_USER: alfresco POSTGRES_PASSWORD: alfresco command: postgres -c max_connections=50 -c log_min_messages=LOG + volumes: + - apsadmindb-volume:/var/lib/postgresql/data:rw search-aps: image: elasticsearch:7.6.0 @@ -69,6 +74,8 @@ services: hard: -1 depends_on: - activiti-app + volumes: + - esindex-volume:/var/lib/postgresql/data:rw proxy: build: ./nginx-ingress @@ -78,3 +85,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