Merge pull request #120 from Nageld/main

docker updates
This commit is contained in:
stratic-dev
2024-03-29 14:14:55 +00:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -42,8 +42,8 @@ services:
build:
context: ../
volumes:
- ./config.json:/app/erupe/config.json
- ./bin:/app/erupe/bin
- ../config.json:/app/erupe/config.json
- ../bin:/app/erupe/bin
- ./savedata:/app/erupe/savedata
ports:
# (Make sure these match config.json)

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -e
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