Compare commits

..

5 Commits

Author SHA1 Message Date
nils
632c2b44a0 changed branch 2020-03-15 22:05:09 +00:00
e5375939c0 changed proxy back to nginx_reverse_proxy 2019-12-22 13:41:13 +01:00
dc272f9750
made docker-compose pull images in first 2019-12-15 22:35:02 +01:00
de57216ba1
added start, stop script and added containername 2019-12-15 22:01:37 +01:00
Nils Jakobi
6a4b02108a added new branch for testing 2019-12-15 10:49:05 +01:00
3 changed files with 9 additions and 15 deletions

View File

@ -1,25 +1,14 @@
version: '3.7'
services:
web:
image: fftdf/freifunk-rhein-sieg.net:master
container_name: freifunk-rhein-sieg.net
restart: always
networks:
- proxy
environment:
VIRTUAL_PORT: 80
VIRTUAL_HOST: freifunk-rhein-sieg.net,www.freifunk-rhein-sieg.net
LETSENCRYPT_HOST: freifunk-rhein-sieg.net,www.freifunk-rhein-sieg.net
web-test:
image: fftdf/freifunk-rhein-sieg.net:devel
image: fftdf/freifunk-rhein-sieg.net:devel_custom_hugo_theme
container_name: test.freifunk-rhein-sieg.net
restart: always
environment:
- VIRTUAL_HOST=test.freifunk-rhein-sieg.net
- LETSENCRYPT_HOST=test.freifunk-rhein-sieg.net
networks:
- proxy
environment:
VIRTUAL_PORT: 80
VIRTUAL_HOST: test.freifunk-rhein-sieg.net
LETSENCRYPT_HOST: test.freifunk-rhein-sieg.net
networks:
proxy:

3
startTestWebsite.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
docker-compose pull
docker-compose -p test.freifunk-rhein-sieg.net up -d

2
stopTestWebsite.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
docker-compose -p test.freifunk-rhein-sieg.net down