This commit is contained in:
@@ -1,18 +1,16 @@
|
|||||||
---
|
---
|
||||||
- name: Pull latest Tinyauth Docker Image
|
- name: Deploy Tinyauth
|
||||||
docker_image:
|
include_role:
|
||||||
name: ghcr.io/steveiliop56/tinyauth
|
name: docker
|
||||||
tag: v4
|
vars:
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Tinyauth Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: tinyauth
|
name: tinyauth
|
||||||
image: ghcr.io/steveiliop56/tinyauth:v4
|
image:
|
||||||
restart_policy: unless-stopped
|
name: ghcr.io/steveiliop56/tinyauth
|
||||||
recreate: true
|
tag: v4
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
|
volumes:
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
env:
|
env:
|
||||||
USERS: "{{ TINYAUTH_USERS }}"
|
USERS: "{{ TINYAUTH_USERS }}"
|
||||||
SECRET: "{{ TINYAUTH_SECRET }}"
|
SECRET: "{{ TINYAUTH_SECRET }}"
|
||||||
@@ -28,8 +26,6 @@
|
|||||||
OAUTH_WHITELIST: "{{ TINYAUTH_OAUTH_WHITELIST }}"
|
OAUTH_WHITELIST: "{{ TINYAUTH_OAUTH_WHITELIST }}"
|
||||||
APP_TITLE: "{{ TINYAUTH_APP_TITLE }}"
|
APP_TITLE: "{{ TINYAUTH_APP_TITLE }}"
|
||||||
BACKGROUND_IMAGE: "{{ TINYAUTH_BACKGROUND_IMAGE }}"
|
BACKGROUND_IMAGE: "{{ TINYAUTH_BACKGROUND_IMAGE }}"
|
||||||
volumes:
|
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.tinyauth.rule: Host(`auth.fntz.net`)
|
traefik.http.routers.tinyauth.rule: Host(`auth.fntz.net`)
|
||||||
|
|||||||
Reference in New Issue
Block a user