Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
version: "2"
services:
wikijs:
image: requarks/wiki:2
depends_on:
- database_wikijs
environment:
DB_USER: ${USERNAME}
DB_PASS: ${PASSWORD}
DB_HOST: database_wikijs
DB_PORT: 3306
DB_TYPE: mysql
DB_NAME: wikijs
restart: unless-stopped
ports:
- 6000:3000
bookstack:
image: linuxserver/bookstack
container_name: bookstack
environment:
DB_USERNAME: ${USERNAME}
DB_PASSWORD: ${PASSWORD}
DB_HOST: database_bookstack
DB_PORT: 3306
DB_DATABASE: bookstack
DB_NAME: bookstack
DB_TYPE: mysql
ports:
- 6001:80
restart: unless-stopped
depends_on:
- database_bookstack
database_wikijs:
image: mysql:8
command: --default-authentication-plugin=mysql_native_password
restart: unless-stopped
container_name: database_wikijs
ports:
- 6002:3306
environment:
MYSQL_ROOT_PASSWORD: ${PASSWORD}
MYSQL_USER: ${USERNAME}
MYSQL_PASSWORD: ${PASSWORD}
MYSQL_DATABASE: wikijs
volumes:
- ${DATA}/data_wikijs:/var/lib/mysql
database_bookstack:
image: mysql:8
command: --default-authentication-plugin=mysql_native_password
restart: unless-stopped
container_name: database_bookstack
ports:
- 6003:3306
environment:
MYSQL_ROOT_PASSWORD: ${PASSWORD}
MYSQL_USER: ${USERNAME}
MYSQL_PASSWORD: ${PASSWORD}
MYSQL_DATABASE: bookstack
volumes:
- ${DATA}/data_bookstack:/var/lib/mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.