Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-11-07 21:03:53 +0300
committernachoparker <nacho@ownyourbits.com>2017-11-07 21:43:43 +0300
commita6165f0e06e6873c0ee5202bff5ed4d6e81d4c0e (patch)
treec5d7cfd553651b40cbbb1c4bff1fa1dfdc79f98c /docker-compose.yml
parent963542bd305fdbde0625e432f990c785efe27187 (diff)
docker: simplify networking for port forwarding
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 8ec6d990..c01536d9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -3,12 +3,9 @@ services:
nextcloudpi:
image: ownyourbits/nextcloudpi-x86
command: "${IP}"
- ports:
- - "80:80"
- - "443:443"
- - "4443:4443"
volumes:
- ncdata:/data
+ network_mode: "host"
volumes:
ncdata: