Skip to main content

Bookstack

version: '3'

services:

  bookstack:
    image: ghcr.io/linuxserver/bookstack:latest
    volumes:
      - bookstack:/config
    ports:
     - "8001:80"
    restart: unless-stopped
    environment:
      DB_USER: bookstack
      DB_PASS: RD4!JeIP4grTqVGjr
      DB_DATABASE: bookstack
      DB_HOST: db:3306
      APP_URL: http://192.168.1.12:8001
    depends_on:
      - db

volumes:
  bookstack:
Avec Traefik

 

version: '3'

services:

  bookstack:
    image: ghcr.io/linuxserver/bookstack:latest
    container_name: bookstack
    restart: unless-stopped
    networks:
      - traefik
    environment:
      DB_USER: bookstack
      DB_PASS: RD4!JeIP4grTqVGjr
      DB_DATABASE: bookstackapp
      DB_HOST: db:3306
      APP_URL: http://ndd.fr
    volumes:
      - bookstack:/config
    labels:
        - "traefik.enable=true"
        - "traefik.http.routers.bookstack.rule=Host(`ndd.fr`)"
        - "traefik.http.routers.bookstack.entrypoints=web"
    depends_on:
      - db

volumes:
    bookstack:

networks:
  traefik:
    external: true
Activation MAIL()

Ajouter les variables suivantes dans le fichier docker-compose.yaml 

MAIL_HOST: smtp.**.fr
MAIL_USERNAME: **@orange.fr
MAIL_PASSWORD: ***
MAIL_PORT: 25
MAIL_FROM: admin@bookstack.fr
MAIL_FROM_NAME: notification