Cloud VM: Fix media deployment #10

Merged
cyclane merged 2 commits from fix-cloud-media into main 2023-09-27 21:31:33 +00:00
4 changed files with 22 additions and 2 deletions

View File

@ -13,7 +13,7 @@
register: user
- name: Copy project
ansible.builtin.copy:
src: ./{{ app }}
src: "./{{ app }}"
dest: "{{ user.home }}"
mode: "0744"
- name: Re-deploy

View File

@ -18,7 +18,7 @@
ignore_errors: true
- name: Copy project
ansible.builtin.copy:
src: ./{{ app }}
src: "./{{ app }}"
dest: "{{ user.home }}"
mode: "0744"
- name: Docker compose up -d

19
infra/cloud/immich/.env Normal file
View File

@ -0,0 +1,19 @@
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/media/immich
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secrets for postgres and typesense. You should change these to random passwords
TYPESENSE_API_KEY=some-random-text
DB_PASSWORD=postgres
# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=immich_postgres
DB_USERNAME=immich
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis

1
infra/cloud/immich/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!.env