fix: Add environment files.
This commit is contained in:
parent
9a9fde015c
commit
f27c4bebc9
@ -55,7 +55,8 @@ services:
|
|||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
ports:
|
ports:
|
||||||
- "{{ photoprism.site.port }}:2342" # HTTP port (host:container)
|
- "{{ photoprism.site.port }}:2342" # HTTP port (host:container)
|
||||||
environment:
|
env_file:
|
||||||
|
- "{{ grafana_setup_path | expanduser | realpath }}/photoprism.yml"
|
||||||
|
|
||||||
working_dir: "/photoprism" # do not change or remove
|
working_dir: "/photoprism" # do not change or remove
|
||||||
## Storage Folders: "~" is a shortcut for your home directory, "." for the current directory
|
## Storage Folders: "~" is a shortcut for your home directory, "." for the current directory
|
||||||
@ -80,6 +81,8 @@ services:
|
|||||||
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: mariadb:10.10
|
image: mariadb:10.10
|
||||||
|
env_file:
|
||||||
|
- "{{ grafana_setup_path | expanduser | realpath }}/db.yml"
|
||||||
security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239
|
security_opt: # see https://github.com/MariaDB/mariadb-docker/issues/434#issuecomment-1136151239
|
||||||
- seccomp:unconfined
|
- seccomp:unconfined
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
|
Loading…
Reference in New Issue
Block a user