Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

New installation of Chandler uses Sqlite even though MySQL provided#7716

Unanswered
Royal2000H asked this question inQ&A
Discussion options

Trying to set up a new installation (v5 beta) on Synology.

Have the following Docker Compose:

services:  app:    image: monica:5.0-apache    container_name: monica    depends_on:      - db    ports:      - 1994:80    environment:      - APP_KEY=<secret1>      - DB_HOST=db      - DB_USERNAME=monica      - DB_PASSWORD=<secret2>    volumes:      - /volume1/docker/monica/data:/var/www/html/storage    security_opt:      - no-new-privileges:true    restart: unless-stopped  db:    image: mariadb:11    container_name: monica-db    environment:      - MYSQL_RANDOM_ROOT_PASSWORD=true      - MYSQL_DATABASE=monica      - MYSQL_USER=monica      - MYSQL_PASSWORD=<secret2>    volumes:      - /volume1/docker/monica/mysql:/var/lib/mysql    security_opt:      - no-new-privileges:true    restart: unless-stopped

Despite this, when starting the container for the first time, logs show it's starting a sqlite DB because there's no MySQL/MariaDB. Yet there is, as seen above.

Also despite having the volumes referenced and the apps creating files and folders within the referenced folders (/volume1/docker/monica/data and /volume1/docker/monica/mysql), the DB itself isn't persistent and if I clean a re-build the image, the DB is reset.

Any advice?

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@Royal2000H

[8]ページ先頭

©2009-2025 Movatter.jp