forked from MTSR/mapserver
postgres data
This commit is contained in:
parent
721a1d7c93
commit
b625d9ad75
14
server/postgres_test/docker-compose.yml
Normal file
14
server/postgres_test/docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
||||
version: "2"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
restart: always
|
||||
environment:
|
||||
POSTGRES_PASSWORD: enter
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- "./data/postgres:/var/lib/postgresql/data"
|
||||
- "./data/backup:/backup"
|
||||
- "./data/restore:/restore"
|
6635
server/postgres_test/minetest.postgres.sql
Normal file
6635
server/postgres_test/minetest.postgres.sql
Normal file
File diff suppressed because it is too large
Load Diff
2
server/postgres_test/psql.sh
Executable file
2
server/postgres_test/psql.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
docker-compose exec postgres psql -U postgres
|
8
server/postgres_test/world.postgres.mt
Normal file
8
server/postgres_test/world.postgres.mt
Normal file
@ -0,0 +1,8 @@
|
||||
gameid = minetest
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user