Update owncloud/docker-compose.yml
Add in control via labels on all three containers
This commit is contained in:
@@ -2,6 +2,10 @@ services:
|
||||
owncloud:
|
||||
image: owncloud/server:latest
|
||||
# container_name: owncloud_server
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.target == here
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:8080
|
||||
@@ -59,6 +63,10 @@ services:
|
||||
redis:
|
||||
image: redis:6
|
||||
# container_name: owncloud_redis
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.target == here
|
||||
restart: always
|
||||
command: ["--databases", "1"]
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user