fixed the Docker Volume path for Element Web

This commit is contained in:
erebion 2023-10-10 12:18:37 +02:00
parent 842522e5e0
commit 512f9a0741

View file

@ -7,8 +7,8 @@ Requires=docker.service
ExecStartPre=-/usr/bin/docker rm --force {{ container_names.element_web.element_web }}
ExecStart=/usr/bin/docker run --rm --name {{ container_names.element_web.element_web }} \
--network nginx_net --env-file {{ docker_volumes_dir }}/element_web/element_web.env \
-v {{ docker_volumes_dir }}/element/config/config.json:/app/config.json:ro \
-v {{ docker_volumes_dir }}/element/config/unhb.png:/app/unhb.png:ro \
-v {{ docker_volumes_dir }}/element_web/config/config.json:/app/config.json:ro \
-v {{ docker_volumes_dir }}/element_web/config/unhb.png:/app/unhb.png:ro \
vectorim/element-web:{{ version.element_web }}
ExecStop=-/usr/bin/docker stop {{ container_names.element_web.element_web }}
Restart=always