Cloud VM: Fix media deployment #10
|
@ -13,7 +13,7 @@
|
||||||
register: user
|
register: user
|
||||||
- name: Copy project
|
- name: Copy project
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: ./{{ app }}
|
src: "./{{ app }}"
|
||||||
dest: "{{ user.home }}"
|
dest: "{{ user.home }}"
|
||||||
mode: "0744"
|
mode: "0744"
|
||||||
- name: Re-deploy
|
- name: Re-deploy
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
- name: Copy project
|
- name: Copy project
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: ./{{ app }}
|
src: "./{{ app }}"
|
||||||
dest: "{{ user.home }}"
|
dest: "{{ user.home }}"
|
||||||
mode: "0744"
|
mode: "0744"
|
||||||
- name: Docker compose up -d
|
- name: Docker compose up -d
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
!.env
|
Loading…
Reference in New Issue