-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·52 lines (49 loc) · 1.51 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
# Installation: https://hub.docker.com/r/linuxserver/bookstack
services:
bookstack:
image: linuxserver/bookstack:24.05.20240520
container_name: bookstack
environment:
- PUID=${BOOKSTACK_PUID}
- PGID=${BOOKSTACK_PGID}
- APP_URL=${BOOKSTACK_APP_URL}
- DB_HOST=${BOOKSTACK_DB_HOST}
- DB_USER=${BOOKSTACK_DB_USER}
- DB_PASS=${BOOKSTACK_DB_PASS}
- DB_DATABASE=${BOOKSTACK_DB_DATABASE}
- MAIL_DRIVER=${BOOKSTACK_MAIL_DRIVER}
- MAIL_HOST=${BOOKSTACK_MAIL_HOST}
- MAIL_PORT=${BOOKSTACK_MAIL_PORT}
- MAIL_ENCRYPTION=${BOOKSTACK_MAIL_ENCRYPTION}
- MAIL_USERNAME=${BOOKSTACK_MAIL_USERNAME}
- MAIL_PASSWORD=${BOOKSTACK_MAIL_PASSWORD}
- MAIL_FROM=${BOOKSTACK_MAIL_FROM}
- MAIL_FROM_NAME=${BOOKSTACK_MAIL_FROM_NAME}
- QUEUE_CONNECTION=${BOOKSTACK_QUEUE_CONNECTION}
volumes:
- /opt/appdata/bookstack:/config
ports:
- 6875:80
restart: unless-stopped
networks:
- proxy
bookstack_db:
image: linuxserver/mariadb:10.11.8
container_name: bookstack_db
environment:
- PUID=${BOOKSTACK_PUID}
- PGID=${BOOKSTACK_PGID}
- MYSQL_ROOT_PASSWORD=${BOOKSTACK_DB_PASS}
- TZ=${BOOKSTACK_DB_TIMEZONE}
- MYSQL_DATABASE=${BOOKSTACK_DB_DATABASE}
- MYSQL_USER=${BOOKSTACK_DB_USER}
- MYSQL_PASSWORD=${BOOKSTACK_DB_PASS}
volumes:
- ./bookstack_db_data:/config
restart: unless-stopped
networks:
- proxy
networks:
proxy:
driver: bridge
external: true