Skip to content

Commit

Permalink
Add 'PHOTOPRISM_ADMIN_PASSWORD' env to containers/services/photoprism
Browse files Browse the repository at this point in the history
  • Loading branch information
notthebee committed Jan 7, 2022
1 parent 1db2bca commit a93662e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions group_vars/all/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ ikev2_excludedssids: ''
namecheap_host: ''
namecheap_token: ''
password: ''
photoprism_password: ''
pihole_password: ''
pikvm_password: ''
piped_postgresql_password: ''
Expand Down
6 changes: 1 addition & 5 deletions roles/containers/services/photoprism/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
pull: yes
command: "mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120"
state: 'started'
labels:
"flame.type": "application"
"flame.name": "{{ container_name | title }}"
"flame.url": "{{ dashboard_url }}"
"flame.icon": "custom"
env:
"TZ": "{{ timezone }}"
"MYSQL_ROOT_PASSWORD": "{{ mysql_root_password }}"
Expand Down Expand Up @@ -40,6 +35,7 @@
"PHOTOPRISM_GID": "{{ guid }}"
"PHOTOPRISM_UID": "{{ guid }}"
"TZ": "{{ timezone }}"
"PHOTOPRISM_ADMIN_PASSWORD": "{{ photoprism_password }}"
"PHOTOPRISM_SITE_URL": "http://{{ ansible_default_ipv4.address }}:2342/"
"PHOTOPRISM_EXPERIMENTAL": "false"
"PHOTOPRISM_HTTP_HOST": "0.0.0.0"
Expand Down

0 comments on commit a93662e

Please sign in to comment.