Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
fix for restart using Docker Compose: added local Docker volumes for …
Browse files Browse the repository at this point in the history
…Elasticsearch and PostgreSQL
  • Loading branch information
OpenPj committed Dec 3, 2021
1 parent 9e27215 commit eab6a07
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/docker-compose-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ services:
environment:
- POSTGRES_USER=conductor
- POSTGRES_PASSWORD=conductor
volumes:
- pgdata-conductor:/var/lib/postgresql/data
networks:
- internal
ports:
Expand All @@ -30,5 +32,9 @@ services:
max-size: "1k"
max-file: "3"

volumes:
pgdata-conductor:
driver: local

networks:
internal:
6 changes: 6 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ services:
- transport.host=0.0.0.0
- discovery.type=single-node
- xpack.security.enabled=false
volumes:
- esdata-conductor:/usr/share/elasticsearch/data
networks:
- internal
ports:
Expand All @@ -66,5 +68,9 @@ services:
max-size: "1k"
max-file: "3"

volumes:
esdata-conductor:
driver: local

networks:
internal:

0 comments on commit eab6a07

Please sign in to comment.