0%

使用Docker部署Wallabag服务

Wallabag是一款稍后阅读工具。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: '3.7'

services:
wallabag:
image: wallabag/wallabag
restart: always
labels:
- traefik.http.routers.wallabag.rule=Host(`wallabag.domain.com`)
- traefik.http.routers.wallabag.entrypoints=web
- traefik.http.routers.wallabag.service=wallabag
- traefik.http.services.wallabag.loadbalancer.server.port=80
environment:
- SYMFONY__ENV__DOMAIN_NAME=http://wallabag.domain.com
volumes:
- data:/var/www/wallabag/data
- images:/var/www/wallabag/web/assets/images

volumes:
data:
images: