diff --git a/Dockerfile b/Dockerfile index 8b54ff506..9cd84be4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN mv _node_modules node_modules EXPOSE $PORT ENV PORT=${PORT} -ENV DATABASE_URL "file:./database/db.sqlite" +ENV DATABASE_URL "file:/data/db.sqlite" ENV NEXTAUTH_URL "http://localhost:3000" ENV PORT 7575 ENV NEXTAUTH_SECRET NOT_IN_USE_BECAUSE_JWTS_ARE_UNUSED diff --git a/src/components/Onboarding/step-update-path-mappings.tsx b/src/components/Onboarding/step-update-path-mappings.tsx index e2542ee0a..68ab42672 100644 --- a/src/components/Onboarding/step-update-path-mappings.tsx +++ b/src/components/Onboarding/step-update-path-mappings.tsx @@ -16,7 +16,7 @@ const dockerRunCommand = `docker run \\ --restart unless-stopped \\ -p 7575:7575 \\ -v your-path/homarr/configs:/app/data/configs \\ --v your-path/homarr/data:/app/database \\ +-v your-path/homarr/data:/data \\ -v your-path/homarr/icons:/app/public/icons \\ -d ghcr.io/ajnart/homarr:latest`; @@ -31,7 +31,7 @@ services: restart: unless-stopped volumes: - ./homarr/configs:/app/data/configs - - ./homarr/data:/app/database + - ./homarr/data:/data - ./homarr/icons:/app/public/icons ports: - '7575:7575'`; @@ -165,7 +165,7 @@ export const StepUpdatePathMappings = ({ next }: { next: () => void }) => { After the new modal has opened, make sure that "Path" has been selected at the top - In the container path, enter /app/database + In the container path, enter /data In the host path, enter a new path on your host system. Choose a similar path, but the @@ -182,7 +182,7 @@ export const StepUpdatePathMappings = ({ next }: { next: () => void }) => { We are sadly not able to include upgrade guides for all kind of systems. If your system was not listed, you should mount this new mounting point in your container: - /app/database + /data