1
0
forked from MTSR/mapserver

postgres data

This commit is contained in:
Thomas Rudin 2019-02-14 18:51:28 +01:00
parent 721a1d7c93
commit b625d9ad75
4 changed files with 6659 additions and 0 deletions

View 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"

File diff suppressed because it is too large Load Diff

2
server/postgres_test/psql.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
docker-compose exec postgres psql -U postgres

View 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