We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
postgres
1 parent 5e17d5e commit 7876a34Copy full SHA for 7876a34
docker-compose.yml
@@ -28,12 +28,12 @@ services:
28
postgres:
29
image: postgres:9.6
30
environment:
31
- POSTGRES_DB: cargo_registry
32
POSTGRES_USER: postgres
33
POSTGRES_PASSWORD: password
34
ports:
35
- 5432:5432
36
volumes:
+ - ./docker/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
37
- postgres-data:/var/lib/postgresql/data
38
39
backend:
docker/docker-entrypoint-initdb.d/create-databases.sql
@@ -0,0 +1,2 @@
1
+CREATE DATABASE cargo_registry;
2
+CREATE DATABASE cargo_registry_test;
0 commit comments