added env example to immich

This commit is contained in:
Nuno Duque Nunes 2026-05-04 23:21:05 +01:00
parent 98b3b09ae5
commit 6d85e15f29
5 changed files with 8 additions and 6 deletions

1
cloudflared/.env.example Normal file
View file

@ -0,0 +1 @@
TUNNEL_TOKEN=your_tunnel_token

View file

@ -5,7 +5,7 @@ services:
restart: unless-stopped restart: unless-stopped
command: tunnel --no-autoupdate run command: tunnel --no-autoupdate run
environment: environment:
- TUNNEL_TOKEN=eyJhIjoiZjg2YzAzZTQwNzFlNjZhYjc2Yzg5ZDQ3OTNmMGM1YjAiLCJ0IjoiZmMyNWNjMzMtNjZmOC00MDU5LTg4ZDMtM2I5NWY4NDIzODAyIiwicyI6Ill6bGhObVV3TVRjdFpHUXdNaTAwT1RBM0xXRXhaRE10WVRBNE5tUmpOVGszTW1ZNCJ9 - TUNNEL_TOKEN=${TUNNEL_TOKEN}
networks: networks:
- traefik - traefik

1
immich/.env.example Normal file
View file

@ -0,0 +1 @@
DB_PASSWORD=db_password_here

View file

@ -11,7 +11,7 @@ services:
environment: environment:
- DB_HOSTNAME=immich_postgres - DB_HOSTNAME=immich_postgres
- DB_USERNAME=immich - DB_USERNAME=immich
- DB_PASSWORD=wnAtOcXH+dxG0xLPtZonv2pPTtlkIw1fRz26GMNQ7ag= - DB_PASSWORD=${DB_PASSWORD}
- DB_DATABASE_NAME=immich - DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich_redis - REDIS_HOSTNAME=immich_redis
depends_on: depends_on:
@ -47,7 +47,7 @@ services:
container_name: immich_postgres container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
environment: environment:
POSTGRES_PASSWORD: wnAtOcXH+dxG0xLPtZonv2pPTtlkIw1fRz26GMNQ7ag= POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: immich POSTGRES_USER: immich
POSTGRES_DB: immich POSTGRES_DB: immich
POSTGRES_INITDB_ARGS: '--data-checksums' POSTGRES_INITDB_ARGS: '--data-checksums'

View file

@ -12,10 +12,10 @@ services:
- OC_INSECURE=false - OC_INSECURE=false
- PROXY_TLS=false - PROXY_TLS=false
- PROXY_HTTP_ADDR=0.0.0.0:9200 - PROXY_HTTP_ADDR=0.0.0.0:9200
- INITIAL_ADMIN_PASSWORD=dVnzfCKamzuv1RluijV1l59uU/mwtW9O - INITIAL_ADMIN_PASSWORD=${INITIAL_ADMIN_PASSWORD}
- COLLABORATION_WOPI_SRC=https://wopiserver.krilio.net - COLLABORATION_WOPI_SRC=https://wopiserver.krilio.net
- COLLABORATION_WOPI_SECRET=32522ab288fd6c77bee76d7d304443c5cdbf6a83e007754f62398194a766040f - COLLABORATION_WOPI_SECRET=${COLLABORATION_WOPI_SECRET}
- OC_WOPI_SECRET=32522ab288fd6c77bee76d7d304443c5cdbf6a83e007754f62398194a766040f - OC_WOPI_SECRET=${COLLABORATION_WOPI_SECRET}
- OC_ADD_RUN_SERVICES=collaboration - OC_ADD_RUN_SERVICES=collaboration
- APP_REGISTRY_MIMETYPES_JSON=[{"mime_type":"application/vnd.oasis.opendocument.text","extension":"odt","name":"OpenDocument Text","description":"OpenDocument Text","icon":"","default_app":"Collabora","allow_creation":true},{"mime_type":"application/vnd.oasis.opendocument.spreadsheet","extension":"ods","name":"OpenDocument Spreadsheet","description":"OpenDocument Spreadsheet","icon":"","default_app":"Collabora","allow_creation":true},{"mime_type":"application/vnd.oasis.opendocument.presentation","extension":"odp","name":"OpenDocument Presentation","description":"OpenDocument Presentation","icon":"","default_app":"Collabora","allow_creation":true}] - APP_REGISTRY_MIMETYPES_JSON=[{"mime_type":"application/vnd.oasis.opendocument.text","extension":"odt","name":"OpenDocument Text","description":"OpenDocument Text","icon":"","default_app":"Collabora","allow_creation":true},{"mime_type":"application/vnd.oasis.opendocument.spreadsheet","extension":"ods","name":"OpenDocument Spreadsheet","description":"OpenDocument Spreadsheet","icon":"","default_app":"Collabora","allow_creation":true},{"mime_type":"application/vnd.oasis.opendocument.presentation","extension":"odp","name":"OpenDocument Presentation","description":"OpenDocument Presentation","icon":"","default_app":"Collabora","allow_creation":true}]
- COLLABORATION_APP_NAME=Collabora - COLLABORATION_APP_NAME=Collabora