-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
28 lines (28 loc) · 1015 Bytes
/
compose.yml
File metadata and controls
28 lines (28 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Needed environment variables:
# - TINYAUTH_HOST: The hostname to use for the tinyauth service.
# - TINYAUTH_SECRET: A random 32 character string.
# - TINYAUTH_USERS: A colon-separated list of users in the format username:password_hash.
services:
tinyauth:
container_name: tinyauth
image: ghcr.io/steveiliop56/tinyauth:v3
pull_policy: build
restart: unless-stopped
environment:
- APP_TITLE=NERV-HQ
- DISABLE_CONTINUE=true
- SECRET=${TINYAUTH_SECRET}
- APP_URL=https://${TINYAUTH_HOST}
- USERS=${TINYAUTH_USERS}
networks:
- proxy
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.tinyauth.rule=Host(`${TINYAUTH_HOST}`)
- traefik.http.middlewares.tinyauth.forwardauth.address=http://tinyauth:3000/api/auth/traefik
- traefik.http.routers.tinyauth.entrypoints=websecure
- traefik.http.routers.tinyauth.tls.certresolver=cloudflare
networks:
proxy:
external: true