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 10 additions and 14 deletions

19
docker-compose.yml Executable file → Normal file
View File

@ -1,23 +1,14 @@
version: '3.7' version: '3.7'
services: services:
web: web:
image: fftdf/freifunk-rhein-sieg.net image: fftdf/freifunk-rhein-sieg.net:devel_custom_hugo_theme
container_name: test.freifunk-rhein-sieg.net
restart: always restart: always
environment:
- VIRTUAL_HOST=test.freifunk-rhein-sieg.net
- LETSENCRYPT_HOST=test.freifunk-rhein-sieg.net
networks: networks:
- proxy - proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.ffrs-web.entrypoints=http"
- "traefik.http.routers.ffrs-web.rule=Host(`freifunk-rhein-sieg.net`)"
- "traefik.http.middlewares.ffrs-web-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.ffrs-web.middlewares=ffrs-web-https-redirect"
- "traefik.http.routers.ffrs-web-secure.entrypoints=https"
- "traefik.http.routers.ffrs-web-secure.rule=Host(`freifunk-rhein-sieg.net`)"
- "traefik.http.routers.ffrs-web-secure.tls=true"
- "traefik.http.routers.ffrs-web-secure.tls.certresolver=http"
- "traefik.http.routers.ffrs-web-secure.service=ffrs-web"
- "traefik.http.services.ffrs-web.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
networks: networks:
proxy: 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