Skip to content

Commit

Permalink
chore: update docker-compose file
Browse files Browse the repository at this point in the history
- Add volume to persist state outside the container
- Convert example credentials to usable, simplifying the UX and
and aligning with other Cardano projects
  • Loading branch information
rhyslbw committed Oct 27, 2020
1 parent a5f4d80 commit 6187081
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions config/secrets/.gitignore

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions config/secrets/postgres_password
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v8hlDV0yMAHHlIurYupj
1 change: 0 additions & 1 deletion config/secrets/postgres_password_example

This file was deleted.

File renamed without changes.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ services:
- postgres_user
- postgres_db
volumes:
- db-sync-data:/var/lib/cdbsync
- node-ipc:/node-ipc
restart: on-failure
logging:
Expand All @@ -68,6 +69,7 @@ secrets:
file: ./config/secrets/postgres_user

volumes:
db-sync-data:
postgres:
node-db:
node-ipc:

0 comments on commit 6187081

Please sign in to comment.