forked from MarseyWorld/MarseyWorld
fix sql script run order (#142)
seed-db runs before seed-user leaving the database unpopulated when building the docker contaienrs. This is because they have the same number prefix. Co-authored-by: sighup <ttrkk9@proton.me> Reviewed-on: rDrama/rDrama#142 Co-authored-by: sighup <sighup@noreply.fsdfsd.net> Co-committed-by: sighup <sighup@noreply.fsdfsd.net>master
parent
0d94608f24
commit
bde73fc665
|
@ -38,8 +38,8 @@ services:
|
|||
command: ["postgres", "-c", "log_statement=all"]
|
||||
volumes:
|
||||
- "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql"
|
||||
- "./seed-users.sql:/docker-entrypoint-initdb.d/10-seed-users.sql"
|
||||
- "./seed-db.sql:/docker-entrypoint-initdb.d/10-seed-db.sql"
|
||||
- "./seed-users.sql:/docker-entrypoint-initdb.d/01-seed-users.sql"
|
||||
- "./seed-db.sql:/docker-entrypoint-initdb.d/02-seed-db.sql"
|
||||
environment:
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
ports:
|
||||
|
|
Loading…
Reference in New Issue