media-server-docker-compose/docs/docker-compose.yml

44 lines
1023 B
YAML
Raw Normal View History

2024-07-14 12:12:46 -04:00
services:
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
2024-11-12 14:54:16 -05:00
- APP_URL=https://docs.${DOMAIN}
2024-07-14 12:12:46 -04:00
- DB_HOST=bookstack_db
- DB_PORT=3306
- DB_USER=bookstack
- DB_PASS=${DBPASS}
- DB_DATABASE=bookstackapp
2024-11-12 14:54:16 -05:00
- VIRTUAL_HOST=docs.${DOMAIN}
- LETSENCRYPT_HOST=docs.${DOMAIN}
2024-07-14 12:12:46 -04:00
- 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