This commit is contained in:
@@ -32,30 +32,29 @@
|
||||
tag: 8-bookworm
|
||||
networks:
|
||||
- name: immich
|
||||
|
||||
- name: Deploy Immich Server
|
||||
include_role:
|
||||
name: docker
|
||||
vars:
|
||||
name: immich
|
||||
image:
|
||||
name: ghcr.io/immich-app/immich-server
|
||||
tag: v2.1.0
|
||||
networks:
|
||||
- name: homelab
|
||||
- name: immich
|
||||
volumes:
|
||||
- "{{ IMMICH_UPLOAD_LOCATION }}:/usr/src/app/upload"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
env:
|
||||
DB_HOSTNAME: "immich_postgres"
|
||||
REDIS_HOSTNAME: "immich_redis"
|
||||
DB_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
||||
DB_USERNAME: "{{ IMMICH_DB_USERNAME }}"
|
||||
DB_DATABASE_NAME: "{{ IMMICH_DB_DATABASE_NAME }}"
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.img.rule: Host(`img.fntz.net`)
|
||||
traefik.http.routers.img.entrypoints: webSecure
|
||||
traefik.http.routers.img.tls.certresolver: letsencrypt
|
||||
traefik.http.services.img.loadbalancer.server.port: "2283"
|
||||
# - name: Deploy Immich Server
|
||||
# include_role:
|
||||
# name: docker
|
||||
# vars:
|
||||
# name: immich
|
||||
# image:
|
||||
# name: ghcr.io/immich-app/immich-server
|
||||
# tag: v2.1.0
|
||||
# networks:
|
||||
# - name: homelab
|
||||
# - name: immich
|
||||
# volumes:
|
||||
# - "{{ IMMICH_UPLOAD_LOCATION }}:/usr/src/app/upload"
|
||||
# - "/etc/localtime:/etc/localtime:ro"
|
||||
# env:
|
||||
# DB_HOSTNAME: "immich_postgres"
|
||||
# REDIS_HOSTNAME: "immich_redis"
|
||||
# DB_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
||||
# DB_USERNAME: "{{ IMMICH_DB_USERNAME }}"
|
||||
# DB_DATABASE_NAME: "{{ IMMICH_DB_DATABASE_NAME }}"
|
||||
# labels:
|
||||
# traefik.enable: "true"
|
||||
# traefik.http.routers.img.rule: Host(`img.fntz.net`)
|
||||
# traefik.http.routers.img.entrypoints: webSecure
|
||||
# traefik.http.routers.img.tls.certresolver: letsencrypt
|
||||
# traefik.http.services.img.loadbalancer.server.port: "2283"
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
GITEA_INSTANCE_URL: "{{ GITEA_INSTANCE_URL }}"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ GITEA_RUNNER_REGISTRATION_TOKEN }}"
|
||||
GITEA_RUNNER_NAME: "runner"
|
||||
GITEA_RUNNER_LABELS: "runner"
|
||||
GITEA_RUNNER_LABELS: "runner:host"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
name: gabehf/koito
|
||||
tag: latest
|
||||
env:
|
||||
KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@172.16.0.25:5432/koito"
|
||||
KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@172.16.0.44:5432/koito"
|
||||
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
||||
volumes:
|
||||
- "{{ data_dir }}/scrobbling/koito:/etc/koito"
|
||||
|
||||
Reference in New Issue
Block a user