lowtechweb/docker-compose.yml

63 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2020-06-16 11:17:40 +02:00
version: "3.8"
2020-05-08 10:26:57 +02:00
volumes:
lowtechweb-log:
name: lowtechweb-log
lowtechweb-stats:
name: lowtechweb-stats
services:
lowtechweb-autopush:
container_name: lowtechweb-autopush
image: registry.weko.io/autopush
2020-05-08 10:26:57 +02:00
restart: always
depends_on:
- lowtechweb
environment:
GIT_USER: ${GIT_USER}
GIT_URL: ${GIT_URL}
GIT_REPOSITORY: ${GIT_REPOSITORY}
DOWNLOAD_URL: ${DOWNLOAD_URL}
WEBDAV_URL: ${WEBDAV_URL}
2020-06-16 11:17:40 +02:00
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
2020-05-08 10:26:57 +02:00
labels:
com.centurylinklabs.watchtower.enable: true
lowtechweb-logs:
container_name: lowtechweb-logs
image: registry.weko.io/goaccess
2020-05-08 10:26:57 +02:00
restart: always
depends_on:
- lowtechweb-autopush
volumes:
- lowtechweb-log:/var/log/nginx
- lowtechweb-stats:/usr/share/nginx/html/stats
2020-06-16 11:17:40 +02:00
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
2020-05-08 10:26:57 +02:00
labels:
com.centurylinklabs.watchtower.enable: true
lowtechweb:
container_name: ${NAME}
image: registry.weko.io/lowtechweb
2020-05-08 10:26:57 +02:00
restart: always
volumes:
- lowtechweb-log:/var/log/nginx
- lowtechweb-stats:/usr/share/nginx/html/stats
2020-06-16 11:17:40 +02:00
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
2020-05-08 10:26:57 +02:00
labels:
traefik.enable: "true"
traefik.http.routers.lowtechweb.rule: "Host(`${URL}`)"
2020-06-16 11:17:40 +02:00
traefik.http.routers.lowtechweb.entrypoints: "web"
2020-05-08 10:26:57 +02:00
com.centurylinklabs.watchtower.enable: true
networks:
default:
external:
name: traefik