media-server-docker-compose/wiki/docker-compose.yml
2024-07-14 12:12:46 -04:00

44 lines
1023 B
YAML

services:
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- APP_URL=https://wiki.${DOMAIN}
- DB_HOST=bookstack_db
- DB_PORT=3306
- DB_USER=bookstack
- DB_PASS=${DBPASS}
- DB_DATABASE=bookstackapp
- VIRTUAL_HOST=wiki.${DOMAIN}
- LETSENCRYPT_HOST=wiki.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
volumes:
- ./config:/config
ports:
- 6875:80
expose:
- "6875"
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: lscr.io/linuxserver/mariadb
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
- MYSQL_ROOT_PASSWORD=${DBPASS}
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=${DBPASS}
volumes:
- ./db:/config
restart: unless-stopped
networks:
default:
name: nginx-proxy
external: true