+++ /dev/null
-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"
- # Router: HTTP
- - "traefik.http.routers.pydio.entrypoints=http"
- - "traefik.http.routers.pydio.rule=Host(`cloud.giorgioravera.it`)"
- #- "traefik.http.routers.pydio.service=pydio"
- - "traefik.http.routers.pydio.middlewares=pydio-https-redirect"
- # Router: HTTPS
- - "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.service=pydio"
- # Middlewares: Redirect http to https
- - "traefik.http.middlewares.pydio-https-redirect.redirectscheme.scheme=https"
- # Services: Loadbalancer
- - "traefik.http.services.pydio.loadbalancer.server.port=8080"
-
-networks:
- proxy:
- external: true