mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-13 17:05:47 +01:00
⚰️ Update dead path (#1570)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
</List.Item>
|
||||
<List.Item>
|
||||
In the container path, enter <Code>/app/database</Code>
|
||||
In the container path, enter <Code>/data</Code>
|
||||
</List.Item>
|
||||
<List.Item>
|
||||
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:
|
||||
</Text>
|
||||
<Code>/app/database</Code>
|
||||
<Code>/data</Code>
|
||||
</Tabs.Panel>
|
||||
</Tabs>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user