Fix llnux docker compose

This commit is contained in:
Brieuc Dubois 2022-12-13 01:02:23 +01:00 committed by Bhasher
parent 89c98e01f7
commit 6f72659efe
1 changed files with 17 additions and 13 deletions

View File

@ -1,4 +1,4 @@
version: "3" version: "3.2"
services: services:
traefik: traefik:
@ -45,6 +45,8 @@ services:
- "traefik.http.services.portainer.loadbalancer.server.port=9000" - "traefik.http.services.portainer.loadbalancer.server.port=9000"
- "traefik.http.routers.portainer.tls=true" - "traefik.http.routers.portainer.tls=true"
- "traefik.http.routers.portainer.tls.certresolver=http" - "traefik.http.routers.portainer.tls.certresolver=http"
environment:
- TZ=Europe/Paris
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /home/pi/docker/storage/portainer:/data - /home/pi/docker/storage/portainer:/data
@ -81,6 +83,8 @@ services:
container_name: baikal container_name: baikal
image: ckulka/baikal:nginx image: ckulka/baikal:nginx
restart: on-failure restart: on-failure
environment:
- TZ=Europe/Paris
volumes: volumes:
- /home/pi/docker/storage/baikal/config:/var/www/baikal/config - /home/pi/docker/storage/baikal/config:/var/www/baikal/config
- /home/pi/docker/storage/baikal/data:/var/www/baikal/Specific - /home/pi/docker/storage/baikal/data:/var/www/baikal/Specific
@ -122,4 +126,4 @@ services:
networks: networks:
external: external:
external: true