mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-16 08:55:31 +01:00
@@ -42,8 +42,8 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ../
|
context: ../
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.json:/app/erupe/config.json
|
- ../config.json:/app/erupe/config.json
|
||||||
- ./bin:/app/erupe/bin
|
- ../bin:/app/erupe/bin
|
||||||
- ./savedata:/app/erupe/savedata
|
- ./savedata:/app/erupe/savedata
|
||||||
ports:
|
ports:
|
||||||
# (Make sure these match config.json)
|
# (Make sure these match config.json)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
echo "INIT!"
|
echo "INIT!"
|
||||||
pg_restore --username="$POSTGRES_USER" --dbname="$POSTGRES_DB" --verbose /schemas/initialisation-schema/9.1-init.sql
|
pg_restore --username="$POSTGRES_USER" --dbname="$POSTGRES_DB" --verbose /schemas/init.sql
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user