working routes

master
root 2018-06-13 10:37:20 +02:00
parent bd07f98344
commit d02824bb21
2 changed files with 18 additions and 7 deletions

View File

@ -21,11 +21,7 @@ services:
depends_on:
- "postgres"
volumes:
- "./tileserver.properties:/tileserver.properties"
environment:
VIRTUAL_PORT: 8080
VIRTUAL_HOST: pandorabox.io
LETSENCRYPT_HOST: pandorabox.io
- "./data/tileserver.properties:/tileserver.properties"
postgres:
image: postgres
@ -43,6 +39,23 @@ services:
volumes:
- "./postgres-tiles:/var/lib/postgresql/data"
nginx:
image: nginx
networks:
- terminator
- default
restart: always
environment:
VIRTUAL_PORT: 80
VIRTUAL_HOST: pandorabox.io
LETSENCRYPT_HOST: pandorabox.io
LETSENCRYPT_EMAIL: thomas@rudin.io
volumes:
- "./data/nginx/nginx.conf:/etc/nginx/nginx.conf:ro"
- "./data/nginx/routes:/routes"
- "./data/nginx/html:/html"
forum:
image: registry.rudin.io/x86/vanilla-forum
restart: always

View File

@ -1,2 +0,0 @@
minetest.db.url=jdbc:postgresql://postgres:5432/postgres
tile.db.url=jdbc:postgresql://postgres-tiles:5432/postgres