File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change
1
+ CREATE USER restoreuser ;
2
+ CREATE DATABASE restoreuser ;
3
+ ALTER ROLE restoreuser SUPERUSER;
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ services:
68
68
- " 15501:5432"
69
69
volumes :
70
70
- pycon-backend-db-data:/var/lib/postgresql/data
71
+ - ./db-superuser.sql:/docker-entrypoint-initdb.d/db-superuser.sql
71
72
environment :
72
73
POSTGRES_USER : pycon
73
74
POSTGRES_PASSWORD : pycon
@@ -115,6 +116,7 @@ services:
115
116
- " 15500:5432"
116
117
volumes :
117
118
- users-backend-db-data:/var/lib/postgresql/data
119
+ - ./db-superuser.sql:/docker-entrypoint-initdb.d/db-superuser.sql
118
120
environment :
119
121
POSTGRES_USER : users
120
122
POSTGRES_PASSWORD : users
@@ -166,6 +168,7 @@ services:
166
168
- " 15503:5432"
167
169
volumes :
168
170
- association-backend-db-data:/var/lib/postgresql/data
171
+ - ./db-superuser.sql:/docker-entrypoint-initdb.d/db-superuser.sql
169
172
environment :
170
173
POSTGRES_USER : association
171
174
POSTGRES_PASSWORD : association
You can’t perform that action at this time.
0 commit comments