Suport full/httponly traefik
This commit is contained in:
parent
b8d421155b
commit
6a51e72ef1
|
@ -0,0 +1,22 @@
|
||||||
|
# user-config/.env.local.tuffy.dotenv
|
||||||
|
ACME_EMAIL=acme.admin@shefet.net
|
||||||
|
|
||||||
|
HOST_UID=3000
|
||||||
|
HOST_GID=3000
|
||||||
|
|
||||||
|
INTERNAL_IP=192.168.2.16
|
||||||
|
|
||||||
|
# RUNTIPI's root on the docker host
|
||||||
|
# TIPI_VERSION="v3.8.0"
|
||||||
|
RUNTIPI_ROOT_FOLDER_HOST=/mnt/shefet/data/apps/runtipi
|
||||||
|
ROOT_FOLDER_HOST=/mnt/shefet/data/apps/runtipi
|
||||||
|
|
||||||
|
# ALT_ROOT_DOMAIN=<alt domain> # optional, alternative public domain
|
||||||
|
TRAEFIK_STATIC=httponly
|
||||||
|
ROOT_DOMAIN=
|
||||||
|
DOMAIN=
|
||||||
|
LOCAL_DOMAIN=tipi.tuffy.lan
|
||||||
|
|
||||||
|
TZ=America/New_York
|
||||||
|
|
||||||
|
# vi: ft=sh
|
|
@ -68,6 +68,7 @@ case "${1}" in
|
||||||
POSTGRES_PASSWORD=_ TIPI_VERSION=_ LOCAL_DOMAIN=_ DOMAIN=_ runtipi-app-docker-compose "${2:-runtipi}" logs ${3:+"${@:3}"}
|
POSTGRES_PASSWORD=_ TIPI_VERSION=_ LOCAL_DOMAIN=_ DOMAIN=_ runtipi-app-docker-compose "${2:-runtipi}" logs ${3:+"${@:3}"}
|
||||||
;;
|
;;
|
||||||
start)
|
start)
|
||||||
|
ROOT_FOLDER_HOST="${RUNTIPI_ROOT}" RUNTIPI_APP_DATA_PATH="${RUNTIPI_ROOT}" \
|
||||||
runtipi-cli start --env-file user-config/.env.local --no-permissions
|
runtipi-cli start --env-file user-config/.env.local --no-permissions
|
||||||
;;
|
;;
|
||||||
update)
|
update)
|
||||||
|
@ -83,7 +84,7 @@ case "${1}" in
|
||||||
dls)
|
dls)
|
||||||
dls "${@:2}"
|
dls "${@:2}"
|
||||||
;;
|
;;
|
||||||
dcoapp)
|
app)
|
||||||
runtipi-app-docker-compose "${@:2}"
|
runtipi-app-docker-compose "${@:2}"
|
||||||
;;
|
;;
|
||||||
dockge)
|
dockge)
|
||||||
|
@ -114,7 +115,7 @@ case "${1}" in
|
||||||
"" "update" "update runtipi to a specific version" \
|
"" "update" "update runtipi to a specific version" \
|
||||||
"" "" "" \
|
"" "" "" \
|
||||||
"docker/docker-compose" "" ""\
|
"docker/docker-compose" "" ""\
|
||||||
"" "dcoapp" "docker compose for runtipi apps" \
|
"" "app" "docker compose for runtipi apps" \
|
||||||
"" "dls" "stylized docker ls" \
|
"" "dls" "stylized docker ls" \
|
||||||
"" "docker" "docker" \
|
"" "docker" "docker" \
|
||||||
"" "dockge" "docker compose for dockge stacks" \
|
"" "dockge" "docker compose for dockge stacks" \
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# log:
|
||||||
|
# level: INFO
|
||||||
|
|
||||||
|
api:
|
||||||
|
dashboard: true
|
||||||
|
insecure: true
|
||||||
|
|
||||||
|
providers:
|
||||||
|
docker:
|
||||||
|
endpoint: "unix:///var/run/docker.sock"
|
||||||
|
watch: true
|
||||||
|
exposedByDefault: false
|
||||||
|
file:
|
||||||
|
directory: /srv/traefik/dynamic
|
||||||
|
watch: true
|
||||||
|
|
||||||
|
entryPoints:
|
||||||
|
web:
|
||||||
|
address: ':88'
|
||||||
|
forwardedHeaders:
|
||||||
|
trustedIPs:
|
||||||
|
- "127.0.0.1/32"
|
||||||
|
- "172.16.0.0/12"
|
||||||
|
websecure:
|
||||||
|
address: ':8443'
|
||||||
|
forwardedHeaders:
|
||||||
|
trustedIPs:
|
||||||
|
- "127.0.0.1/32"
|
||||||
|
- "172.16.0.0/12"
|
||||||
|
|
||||||
|
certificatesResolvers:
|
||||||
|
myresolver:
|
|
@ -1,3 +1,4 @@
|
||||||
|
password: $2a$10$kUIu7BzRM8UDTUnD9ugjreRFgGUmKtrqXGI9NAjP5x1FYla9k1YI0
|
||||||
secrets:
|
secrets:
|
||||||
# tipi_jwt_secret:
|
# tipi_jwt_secret:
|
||||||
# file: ${RUNTIPI_ROOT_FOLDER_HOST}/user-config/_secrets/tipi_jwt_secret.txt
|
# file: ${RUNTIPI_ROOT_FOLDER_HOST}/user-config/_secrets/tipi_jwt_secret.txt
|
||||||
|
@ -28,7 +29,7 @@ services:
|
||||||
target: /srv/traefik/dynamic/
|
target: /srv/traefik/dynamic/
|
||||||
read_only: true
|
read_only: true
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./user-config/_traefik/static.yml
|
source: ./user-config/_traefik/static.${TRAEFIK_STATIC:-full}.yml
|
||||||
target: /srv/traefik/static.yml
|
target: /srv/traefik/static.yml
|
||||||
read_only: true
|
read_only: true
|
||||||
logging:
|
logging:
|
||||||
|
@ -49,7 +50,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
- tipi_internal_network
|
- tipi_internal_network
|
||||||
- ix-dockge
|
# - ix-dockge
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
tipi_internal_network:
|
tipi_internal_network:
|
||||||
|
|
Loading…
Reference in New Issue