]> git.giorgioravera.it Git - docker.git/commitdiff
Enabled redirect https into xen server orchestra
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 5 Jan 2022 18:34:18 +0000 (19:34 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 5 Jan 2022 18:34:18 +0000 (19:34 +0100)
xen-orchestra-ce/docker-compose.yaml

index 828eb6f39261e998107933fcad066d5273aac3f6..2b683096817bc6a4d5e2628fdbb34978f94d7304 100644 (file)
@@ -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: