63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
version: "3.8"
|
|
|
|
volumes:
|
|
lowtechweb-log:
|
|
name: lowtechweb-log
|
|
lowtechweb-stats:
|
|
name: lowtechweb-stats
|
|
|
|
services:
|
|
lowtechweb-autopush:
|
|
container_name: lowtechweb-autopush
|
|
image: registry.weko.io/autopush
|
|
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}
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: true
|
|
|
|
lowtechweb-logs:
|
|
container_name: lowtechweb-logs
|
|
image: registry.weko.io/goaccess
|
|
restart: always
|
|
depends_on:
|
|
- lowtechweb-autopush
|
|
volumes:
|
|
- lowtechweb-log:/var/log/nginx
|
|
- lowtechweb-stats:/usr/share/nginx/html/stats
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: true
|
|
|
|
lowtechweb:
|
|
container_name: ${NAME}
|
|
image: registry.weko.io/lowtechweb
|
|
restart: always
|
|
volumes:
|
|
- lowtechweb-log:/var/log/nginx
|
|
- lowtechweb-stats:/usr/share/nginx/html/stats
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
labels:
|
|
traefik.enable: "true"
|
|
|
|
traefik.http.routers.lowtechweb.rule: "Host(`${URL}`)"
|
|
traefik.http.routers.lowtechweb.entrypoints: "web"
|
|
|
|
com.centurylinklabs.watchtower.enable: true
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: traefik
|