summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-06-30 11:25:42 -0500
committerToby Vincent <tobyv13@gmail.com>2021-06-30 11:25:42 -0500
commit31b186d50e3134977d04f3bf16f1d85aa6113a4c (patch)
treec7ff3370d4ab630191ba09aa065c4105f107b1f9
parent2e016a8235ce6b44ce98922daa23c26e7d0dfce8 (diff)
updated portainer compose
-rwxr-xr-xdocker-compose.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 691a0df..9c231c5 100755
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -34,7 +34,7 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./config:/etc/traefik
- - ./data:/data
+ - nfs:/data
ports:
- 80:80
- 443:443
@@ -101,6 +101,14 @@ secrets:
secrets_oauth:
file: secrets/oauth
+volumes:
+ nfs:
+ driver: local
+ driver_opts:
+ type: "nfs"
+ o: addr=bifrost,nolock,soft,rw
+ device: ":/mnt/share/docker/traefik"
+
networks:
default:
driver: overlay