Add 'self' stack
This commit adds a new stack 'self' that for now just redirects to the repository.
This commit is contained in:
parent
653445225e
commit
56a44f8db3
10 changed files with 69 additions and 7 deletions
16
distillery/resources/compose/self/.env.sample
Normal file
16
distillery/resources/compose/self/.env.sample
Normal 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=
|
||||
22
distillery/resources/compose/self/docker-compose.yml
Normal file
22
distillery/resources/compose/self/docker-compose.yml
Normal 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
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue