13 grudnia 2021

Portainer #2 - Bookstack, Dokuwiki

Bookstack

version: "3"
services:
  bookstack:
    image: lscr.io/linuxserver/bookstack
    container_name: bookstack
    environment:
      - PUID=1000
      - PGID=1000
      - APP_URL=
      - DB_HOST=bookstack_db
      - DB_USER=bookstack
      - DB_PASS=AAA
      - DB_DATABASE=bookstackapp
    volumes:
      - data:/config
    ports:
      - 6875:80
    restart: unless-stopped
    depends_on:
      - bookstack_db
  bookstack_db:
    image: lscr.io/linuxserver/mariadb
    container_name: bookstack_db
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_ROOT_PASSWORD=AAA
      - TZ=Europe/Warsaw
      - MYSQL_DATABASE=bookstackapp
      - MYSQL_USER=bookstack
      - MYSQL_PASSWORD=AAA
    volumes:
      - data:/config
    restart: unless-stopped
volumes:
  data:
    driver: local
    name: bookstack_data

Dokuwiki

version: "3.8"

services:
  app:
    container_name: dokuwiki
    image: lscr.io/linuxserver/dokuwiki
    restart: unless-stopped
    volumes:
      - data:/config
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Warsaw
    ports:
      - 8021:80

volumes:
  data:
    driver: local
    name: dokuwiki_data