Commit c54432dc authored by Ryan Herbert's avatar Ryan Herbert

docker-compose.yml link conf files to host.

In an attempt to make it easier to alter the configuration of the
dockerised Vidjil installation, the host now contains the cofiguration
files within a volume linked to the containers.
This modification should allow users to modify some configurations while
the app is running, and should the containers require restarting, the
image no longer needs to be rebuilts for the changes to take effect.
parent e6dffdf7
...@@ -39,6 +39,7 @@ services: ...@@ -39,6 +39,7 @@ services:
- /opt/vidjil/log:/var/vidjil - /opt/vidjil/log:/var/vidjil
- /opt/vidjil/log/nginx:/var/log/nginx - /opt/vidjil/log/nginx:/var/log/nginx
- /opt/vidjil/backup:/mnt/backup - /opt/vidjil/backup:/mnt/backup
- ./vidjil/conf:/etc/vidjil
nginx: nginx:
image: vidjil:test image: vidjil:test
depends_on: depends_on:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment