2021-04-26 21:23:23 +02:00
|
|
|
version: "{{ compose_version }}"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
name: "{{ traefik_network }}"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
grav_lola:
|
|
|
|
name: grav_lola
|
|
|
|
|
|
|
|
services:
|
|
|
|
grav_lola:
|
|
|
|
image: grav:{{ grav_version }}
|
|
|
|
build: .
|
|
|
|
container_name: grav_lola
|
|
|
|
volumes:
|
|
|
|
- grav_lola:/var/www/html
|
2021-07-23 14:04:42 +02:00
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2021-04-26 21:23:23 +02:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
labels:
|
|
|
|
traefik.http.routers.grav.entrypoints: websecure
|
|
|
|
traefik.http.routers.grav.rule: "Host(`blog.leaula.me`)"
|
|
|
|
traefik.http.services.grav.loadbalancer.server.port: "{{ grav_internal_port }}"
|
|
|
|
traefik.enable: true
|
|
|
|
restart: unless-stopped
|