Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
632c2b44a0 | ||
e5375939c0 | |||
dc272f9750 | |||
de57216ba1 | |||
|
6a4b02108a |
19
docker-compose.yml
Executable file → Normal file
19
docker-compose.yml
Executable file → Normal file
@ -1,23 +1,14 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
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
|
||||
environment:
|
||||
- VIRTUAL_HOST=test.freifunk-rhein-sieg.net
|
||||
- LETSENCRYPT_HOST=test.freifunk-rhein-sieg.net
|
||||
networks:
|
||||
- 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:
|
||||
proxy:
|
||||
|
3
startTestWebsite.sh
Executable file
3
startTestWebsite.sh
Executable 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
2
stopTestWebsite.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
docker-compose -p test.freifunk-rhein-sieg.net down
|
Loading…
Reference in New Issue
Block a user