Skip to main content

Docker Compose

ID für bookstack ermitteln

 

vserveramrheininfo:~# id gerald
uid=1000(gerald) gid=1000(gerald) Gruppen=1000(gerald),27(sudo)

vserveramrheininfo:~# grep docker /etc/group
docker:x:994:

 

 


 

 ---
 version: "3.8"

 services:

   npm:
     image: 'jc21/nginx-proxy-manager:latest'
     restart: unless-stopped
     ports:
       # These ports are in format <host-port>:<container-port>
       - '80:80' # Public HTTP Port
       - '443:443' # Public HTTPS Port
       - '81:81' # Admin Web Port
       # Add any other Stream port you want to expose
       # - '21:21' # FTP

     # Uncomment the next line if you uncomment anything in the section
     environment:
       # Uncomment this if you want to change the location of
       # the SQLite DB file within the container
       # DB_SQLITE_FILE: "/data/database.sqlite"

       # Uncomment this if IPv6 is not enabled on your host
       DISABLE_IPV6: 'true'

     volumes:
       - /opt/docker/proxy-manager/data:/data
       - /opt/docker/proxy-manager/letsencrypt:/etc/letsencrypt


   bookstack:
     image: lscr.io/linuxserver/bookstack
     container_name: bookstack
     environment:
       - PUID=1000
       - PGID=994
       - TZ=Europe/Berlin
       - APP_URL=https://book.amrhein.info
       - DB_HOST=bookstack_db
       - DB_PORT=3306
       - DB_USER=bookstack
       - DB_PASS=We§d45$$%
       - DB_DATABASE=bookstackapp
     volumes:
       - /opt/docker/bookstack:/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=994
       - TZ=Europe/Berlin
       - MYSQL_ROOT_PASSWORD=P34we$$%
       - MYSQL_DATABASE=bookstackapp
       - MYSQL_USER=bookstack
       - MYSQL_PASSWORD=We§d45$$%
     volumes:
       - /opt/docker/bookstack:/config
     restart: unless-stopped

   hbbs:
     container_name: hbbs
     image: rustdesk/rustdesk-server:latest
     command: hbbs
     volumes:
       - /opt/docker/rustdesk/data:/root
     network_mode: "host"

     depends_on:
       - hbbr
     restart: unless-stopped

   hbbr:
     container_name: hbbr
     image: rustdesk/rustdesk-server:latest
     command: hbbr
     volumes:
       - /opt/docker/rustdesk/data:/root
     network_mode: "host"
     restart: unless-stopped