wiki / docker-compose cleanup

master
Thomas Rudin 2019-04-21 17:12:42 +02:00
parent 66b061fb91
commit 36a83f7179
4 changed files with 21 additions and 5 deletions

View File

@ -0,0 +1,9 @@
location /wiki/ {
proxy_pass http://wiki/wiki/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
access_log off;
}

View File

@ -27,8 +27,6 @@ services:
POSTGRES_PASSWORD: enter
volumes:
- "./data/postgres-minetest:/var/lib/postgresql/data"
- "./data/postgres-minetest-backup:/backup"
- "./data/postgres-minetest-restore:/restore"
logging:
options:
max-size: 50m
@ -49,6 +47,15 @@ services:
options:
max-size: 50m
wiki:
image: registry.rudin.io/x86/php-pandorabox
restart: always
volumes:
- "./data/wiki:/var/www/html/wiki"
logging:
options:
max-size: 50m
portainer:
image: portainer/portainer
restart: always
@ -70,8 +77,8 @@ services:
- portainer
environment:
VIRTUAL_PORT: 80
VIRTUAL_HOST: test.pandorabox.io
LETSENCRYPT_HOST: test.pandorabox.io
VIRTUAL_HOST: pandorabox.io
LETSENCRYPT_HOST: pandorabox.io
LETSENCRYPT_EMAIL: thomas@rudin.io
volumes:
- "./data/nginx/nginx.conf:/etc/nginx/nginx.conf:ro"

1
psql-mapserver.sh Executable file
View File

@ -0,0 +1 @@
docker-compose exec postgres psql -U postgres mapserver

View File

@ -1 +0,0 @@
docker-compose exec postgres-tiles psql -U postgres