| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hello, Here is my docker-compose file. `services: epbookstack: image: lscr.io/linuxserver/bookstack:latest container_name: epbookstack environment: - PUID=1000 - PGID=1000 - TZ=America/Chicago - APP_URL=https://bookstacks.FAKEDOMAIN.com - APP_KEY=base64:3qjlIoUX4Tw6fUQgZcxMbz6lb8+dAzqpvItqHvahW1c= - DB_HOST=bookstack_mariadb - DB_PORT=3306 - DB_DATABASE=bookstackapp - DB_USERNAME=bookstack - DB_PASSWORD=bookstack0123 volumes: - ./bookstack_app_data:/config ports: - 6875:80 restart: unless-stopped depends_on: - bookstack_mariadb bookstack_mariadb: image: mariadb:latest container_name: bookstack_mariadb environment: - PUID=1000 - PGID=1000 - TZ=America/Chicago - MYSQL_ROOT_PASSWORD=Pass26Pass - MYSQL_DATABASE=bookstackapp - MYSQL_USER=bookstack - MYSQL_PASSWORD=bookstack0123 volumes: - ./bookstack_db_data:/config restart: unless-stopped` |
|
can you try using a full path rather than a relative path? |
|
You're using the official mariadb image, which doesn't use /config for its data, it uses /var/lib/mysql |
|
@thespad let me try that. The official Lsio docker-compose example is wrong haha, that is where i started from. |
|
I should probably change it to the lscr.io/linuxserver/mariadb:11.4.4 just to be consistant. Another question is it easy enough to make a backup of the DB so i can move it to the new db. If so can someone help me with that. |
| Back | FazBrowse Home | New Git URL |
You're using the official mariadb image, which doesn't use /config for its data, it uses /var/lib/mysql