-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (61 loc) · 1.69 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: '3.8'
services:
runtime:
image: wallabag/wallabag:2.5.2
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=database
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=wallapass
- SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
- SYMFONY__ENV__DOMAIN_NAME="https://wallabag.rayschpp.de"
- SYMFONY__ENV__SERVER_NAME="Links to read"
- SYMFONY__ENV__FOSUSER_REGISTRATION=false
- SYMFONY__ENV__FOSUSER_CONFIRMATION=false
labels:
- "traefik.backend=wallabag"
- "traefik.basic.port=80"
- "traefik.enable=true"
- "traefik.http.routers.wallabag.entrypoints=websecure"
networks:
- local
- web
volumes:
- images:/var/www/wallabag/web/assets/images
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost"]
interval: 1m
timeout: 3s
depends_on:
- database
- redis
database:
restart: unless-stopped
image: mariadb:10.9.4
environment:
- MYSQL_ROOT_PASSWORD=wallaroot
volumes:
- ./data/database:/var/lib/mysql
networks:
- local
healthcheck:
test: ["CMD", "mysqladmin", "-p${MARIADB_ROOT_PASSWORD}", "ping", "-h", "localhost"]
interval: 1m
timeout: 3s
redis:
restart: unless-stopped
image: redis:7.0.5-alpine
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1m
timeout: 3s
volumes:
images:
networks:
web:
external: true
local: