Add 'self' stack

This commit adds a new stack 'self' that for now just redirects to the
repository.
This commit is contained in:
Tom Wiesing 2020-07-02 11:26:32 +02:00
parent 653445225e
commit 56a44f8db3
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15
10 changed files with 69 additions and 7 deletions

View file

@ -0,0 +1,16 @@
#######################
# Meta Settings
#######################
# The target path to redirect to
TARGET=https://gitlab.cs.fau.de/AGFD/wisski-distillery
#######################
### Web Server settings
#######################
# the hostname for the website
VIRTUAL_HOST=example.com
# optional letsencrypt support
# when blank, ignore
LETSENCRYPT_HOST=
LETSENCRYPT_EMAIL=

View file

@ -0,0 +1,22 @@
version: "3.7"
services:
tr:
image: tkw01536/tr
restart: always
environment:
# port and hostname for this image to use
VIRTUAL_HOST: ${VIRTUAL_HOST}
VIRTUAL_PORT: 8080
# optional letsencrypt email
LETSENCRYPT_HOST: ${LETSENCRYPT_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
# where to redirect to
TARGET: ${TARGET}
networks:
default:
external:
name: distillery

View file

@ -3,6 +3,8 @@ version: "3.7"
services:
nginx-proxy:
image: nginxproxy/nginx-proxy:alpine
environment:
- DEFAULT_HOST=${DEFAULT_HOST}
ports:
- "80:80"
- "443:443"