From: Giorgio Ravera Date: Wed, 5 Jan 2022 18:34:18 +0000 (+0100) Subject: Enabled redirect https into xen server orchestra X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=4b659c4d6cdc32ff3e765ac0e8743884aa39c9e8;p=docker.git Enabled redirect https into xen server orchestra --- diff --git a/xen-orchestra-ce/docker-compose.yaml b/xen-orchestra-ce/docker-compose.yaml index 828eb6f..2b68309 100644 --- a/xen-orchestra-ce/docker-compose.yaml +++ b/xen-orchestra-ce/docker-compose.yaml @@ -4,7 +4,7 @@ services: orchestra: container_name: XO_server image: ezka77/xen-orchestra-ce:latest - restart: unless-stopped + restart: always ports: - "8000:8000" depends_on: @@ -33,8 +33,8 @@ services: - "traefik.enable=true" - "traefik.http.routers.xoa.entrypoints=http" - "traefik.http.routers.xoa.rule=Host(`xoa.giorgioravera.it`)" - - "traefik.http.routers.xoa.service=xoa" - #- "traefik.http.routers.xoa.middlewares=xoa-https-redirect" + #- "traefik.http.routers.xoa.service=xoa" + - "traefik.http.routers.xoa.middlewares=xoa-https-redirect" - "traefik.http.routers.xoa-secure.entrypoints=https" - "traefik.http.routers.xoa-secure.rule=Host(`xoa.giorgioravera.it`)" - "traefik.http.routers.xoa-secure.tls=true" @@ -46,7 +46,7 @@ services: container_name: XO_redis image: redis:alpine command: redis-server --appendonly yes - restart: unless-stopped + restart: always environment: - TZ=${DOCKER_TZ} volumes: