]> git.giorgioravera.it Git - docker.git/commitdiff
Added pydio
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 27 Jan 2020 21:34:22 +0000 (22:34 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 27 Jan 2020 21:34:22 +0000 (22:34 +0100)
pydio-cells/docker-compose.yaml [new file with mode: 0644]

diff --git a/pydio-cells/docker-compose.yaml b/pydio-cells/docker-compose.yaml
new file mode 100644 (file)
index 0000000..3722574
--- /dev/null
@@ -0,0 +1,35 @@
+version: '3'
+
+services:
+  pydio:
+    container_name: pydio
+    image: pydio/cells
+    restart: unless-stopped
+    #ports:
+    #  - 8080:8080
+    environment:
+      - TZ=${DOCKER_TZ}
+      - CELLS_BIND=cloud.giorgioravera.it:8080
+      - CELLS_EXTERNAL=https://cloud.giorgioravera.it
+      - CELLS_NO_TLS=1
+    volumes:
+      - ${DOCKER_CFG_DIR}/pydio-cells:/var/cells
+    networks:
+      - proxy
+    labels:
+      - "traefik.enable=true"
+      - "traefik.http.routers.pydio.entrypoints=http"
+      - "traefik.http.routers.pydio.rule=Host(`cloud.giorgioravera.it`)"
+      #- "traefik.http.middlewares.pydio-https-redirect.redirectscheme.scheme=https"
+      #- "traefik.http.routers.pydio.middlewares=pydio-https-redirect"
+      - "traefik.http.routers.pydio-secure.entrypoints=https"
+      - "traefik.http.routers.pydio-secure.rule=Host(`cloud.giorgioravera.it`)"
+      - "traefik.http.routers.pydio-secure.tls=true"
+      #- "traefik.http.routers.pydio-secure.tls.certresolver=http"
+      - "traefik.http.routers.pydio-secure.service=pydio"
+      - "traefik.http.services.pydio.loadbalancer.server.port=8080"
+      - "traefik.docker.network=proxy"
+
+networks:
+  proxy:
+    external: true