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:
@ -19,7 +19,7 @@ services:
- "--certificatesresolvers.http.acme.httpchallenge.entrypoint=web" - "--certificatesresolvers.http.acme.httpchallenge.entrypoint=web"
- "--certificatesresolvers.http.acme.email=acme@bhasher.com" - "--certificatesresolvers.http.acme.email=acme@bhasher.com"
- "--certificatesresolvers.http.acme.storage=acme.json" - "--certificatesresolvers.http.acme.storage=acme.json"
#- "--log.level=DEBUG" # - "--log.level=DEBUG"
environment: environment:
- TZ=Europe/Paris - TZ=Europe/Paris
restart: always restart: always
@ -39,17 +39,19 @@ services:
image: portainer/portainer-ce:latest image: portainer/portainer-ce:latest
restart: always restart: always
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.portainer.rule=Host(`portainer.lln.bhasher.com`)" - "traefik.http.routers.portainer.rule=Host(`portainer.lln.bhasher.com`)"
- "traefik.http.routers.portainer.entrypoints=websecure" - "traefik.http.routers.portainer.entrypoints=websecure"
- "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
networks: networks:
- external - external
mealie: mealie:
container_name: mealie container_name: mealie
@ -58,7 +60,7 @@ services:
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ= Europe/Paris - TZ=Europe/Paris
- RECIPE_PUBLIC=true - RECIPE_PUBLIC=true
- RECIPE_SHOW_NUTRITION=true - RECIPE_SHOW_NUTRITION=true
- RECIPE_SHOW_ASSETS=true - RECIPE_SHOW_ASSETS=true
@ -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