2022-04-29 15:31:33 +02:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
grav:
|
2022-05-29 11:26:25 +02:00
|
|
|
image: linuxserver/grav:{{ docker_grav_image_version }}
|
2022-04-29 15:31:33 +02:00
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Paris
|
|
|
|
volumes:
|
2022-05-19 11:46:11 +02:00
|
|
|
- ./robots-sitemap.txt:/app/grav-admin/robots.txt
|
2022-04-29 15:31:33 +02:00
|
|
|
- /data1/{{ docker_grav_service_id }}/config:/config
|
|
|
|
restart: always
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.docker.network=traefik"
|
|
|
|
- "traefik.http.routers.{{ docker_grav_service_id }}.entrypoints=web"
|
2022-06-27 20:17:27 +02:00
|
|
|
- "traefik.http.routers.{{ docker_grav_service_id }}.rule=Host(`{{ docker_grav_fqdn }}`)"
|
2022-04-29 15:31:33 +02:00
|
|
|
- "traefik.http.services.{{ docker_grav_service_id }}.loadbalancer.server.port=80"
|
|
|
|
networks:
|
|
|
|
- traefik
|
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|