From 04cd62dd3ec6543f6c7fae6adba40478789c9d58 Mon Sep 17 00:00:00 2001 From: Philipp Rintz <13933258+p-rintz@users.noreply.github.com> Date: Fri, 12 Oct 2018 15:57:46 +0200 Subject: [PATCH] Changed the comment about the config location --- docker-compose.swarm.minimal.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.swarm.minimal.yml b/docker-compose.swarm.minimal.yml index 4754f901..adabd1f3 100644 --- a/docker-compose.swarm.minimal.yml +++ b/docker-compose.swarm.minimal.yml @@ -11,9 +11,10 @@ services: mode: 0444 environment: - NODE_TLS_REJECT_UNAUTHORIZED=0 - # Where the authelia volume is to be mounted. Mounted in a subdirectory to host both the users_database and storage at the same time. + # Where the authelia volume is to be mounted. To only use a single volume, the minimal config needs to be changed to read the users_database.yml also from this subdirectory. + # Otherwise a second volume will need to be configured here to mount the users_database.yml. volumes: - - authelia:/etc/authelia/volume + - authelia:/etc/authelia/storage networks: - overlay deploy: @@ -28,7 +29,7 @@ services: # How many replicas are wanted. Can be any number >0 up to however many nodes are available. replicas: 1 placement: - constraints: + constraints: - node.role == worker #The volume for authelia needs to be configured. There are many drivers available. Such as local storage, ceph-rdb, nfs, cifs etc.