Use a better name for the database volume
Having "example" in the name is an indicator that we're supposed to change the name :).
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
|||||||
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
||||||
# persist the database between containers by storing it in a volume
|
# persist the database between containers by storing it in a volume
|
||||||
volumes:
|
volumes:
|
||||||
- docker-example-postgres:/var/lib/postgresql/data
|
- db_data:/var/lib/postgresql/data
|
||||||
|
|
||||||
# service configuration for our dockerized Rails app
|
# service configuration for our dockerized Rails app
|
||||||
app:
|
app:
|
||||||
@@ -39,5 +39,5 @@ services:
|
|||||||
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
||||||
- SSH_AUTH_SOCK=/tmp/agent.sock
|
- SSH_AUTH_SOCK=/tmp/agent.sock
|
||||||
volumes:
|
volumes:
|
||||||
docker-example-postgres: {}
|
db_data: {}
|
||||||
bundle: {}
|
bundle: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user