staging dir

master
Thomas Rudin 2018-06-18 11:04:38 +02:00
parent 1b97ba8c65
commit eafca14895
3 changed files with 33 additions and 0 deletions

2
staging/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
minetest
postgres

9
staging/copy.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
rm -rf minetest postgres
cp ../minetest . -R
#TODO: dirty....
cp ../postgres . -R

View File

@ -0,0 +1,22 @@
version: "2"
services:
minetest:
image: registry.rudin.io/x86/minetest:0.4.17
restart: always
ports:
- "30003:30000/udp"
depends_on:
- "postgres"
volumes:
- "./minetest:/data"
command: minetestserver --config /data/minetest.conf --world /data/world/ --quiet
postgres:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: enter
volumes:
- "./postgres:/var/lib/postgresql/data"