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:
Javi Martín
2021-12-20 19:04:06 +01:00
parent 0294ceba56
commit d1b45238ba

View File

@@ -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: {}