Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
example
---
version: "2"
services:
wiki:
image: ghcr.io/linuxserver/bookstack
container_name: wiki
environment:
- PUID=998
- PGID=100
- APP_URL=
- DB_HOST=db
- DB_USER=user
- DB_PASS=password
- DB_DATABASE=app
- APP_DEFAULT_DARK_MODE=true
volumes:
- /path/to/config:/config
ports:
- 6999:80
restart: unless-stopped
depends_on:
- hwikidb
db:
image: ghcr.io/linuxserver/mariadb
container_name: db
#command: --default-authentication-plugin=mysql_native_password
ports:
- 3306:3306
environment:
- PUID=998
- PGID=100
- MYSQL_ROOT_PASSWORD=password
- TZ=America/Denver
- MYSQL_DATABASE=app
- MYSQL_USER=user
- MYSQL_PASSWORD=password
volumes:
- /path/to/config:/config
restart: unless-stopped
phpmyadmin:
image: phpmyadmin/phpmyadmin
depends_on:
- db
environment:
- PMA_HOST=db
ports:
- 9632:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment