Split up to stacks and add portainer.
This commit is contained in:
37
wiki/docker-compose.yaml
Normal file
37
wiki/docker-compose.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: "3.9"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
bookstack:
|
||||
name: bookstack
|
||||
|
||||
services:
|
||||
bookstack:
|
||||
image: linuxserver/bookstack
|
||||
restart: unless-stopped
|
||||
container_name: bookstack
|
||||
depends_on:
|
||||
- mysql8
|
||||
volumes:
|
||||
- bookstack:/config
|
||||
environment:
|
||||
- PUID=1000
|
||||
- GUID=1000
|
||||
- APP_URL=http://bookstack.localhost
|
||||
- DB_HOST=mysql8
|
||||
- DB_USER=bookstack
|
||||
- DB_PASS=sdfl39302klsdjf
|
||||
- DB_DATABASE=bookstack
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.bookstack.entrypoints=web"
|
||||
- "traefik.http.routers.bookstack.rule=Host(`bookstack.localhost`) || Host(`bookstack.local`)"
|
||||
- "traefik.http.services.bookstack.loadbalancer.server.port=80"
|
||||
Reference in New Issue
Block a user