forked from MTSR/mapserver
psql setup
This commit is contained in:
parent
72bd7346c9
commit
309c88e8bb
1
server/postgres_test/.gitignore
vendored
Normal file
1
server/postgres_test/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
data
|
@ -9,6 +9,4 @@ services:
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- "./data/postgres:/var/lib/postgresql/data"
|
||||
- "./data/backup:/backup"
|
||||
- "./data/restore:/restore"
|
||||
- "./data:/var/lib/postgresql/data"
|
||||
|
2
server/postgres_test/import.sh
Executable file
2
server/postgres_test/import.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
cat minetest.postgres.sql | sudo docker exec -i postgres_test_postgres_1 psql -U postgres
|
@ -3,6 +3,6 @@ backend = postgresql
|
||||
creative_mode = true
|
||||
enable_damage = true
|
||||
player_backend = postgresql
|
||||
pgsql_connection = host=localhost port=5432 user=postgres password=enter dbname=minetest
|
||||
pgsql_player_connection = host=localhost port=5432 user=postgres password=enter dbname=minetest
|
||||
pgsql_connection = host=localhost port=5432 user=postgres password=enter dbname=postgres
|
||||
pgsql_player_connection = host=localhost port=5432 user=postgres password=enter dbname=postgres
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user