docs: Add instructions for volumes
This commit is contained in:
@@ -26,6 +26,10 @@ COPY package-lock.json .
|
||||
|
||||
RUN npm ci --omit dev
|
||||
|
||||
RUN mkdir -p ./config
|
||||
|
||||
RUN ln -s /usr/src/app/config /config
|
||||
|
||||
CMD [ "npm", "run", "deploy" ]
|
||||
|
||||
FROM node:18 as development
|
||||
@@ -40,4 +44,8 @@ COPY package-lock.json .
|
||||
|
||||
RUN npm i
|
||||
|
||||
RUN mkdir -p ./config
|
||||
|
||||
RUN ln -s /usr/src/app/config /config
|
||||
|
||||
CMD [ "npm", "run", "dev" ]
|
||||
@@ -37,6 +37,7 @@ docker run -it --init \
|
||||
--name reiverr \
|
||||
--restart unless-stopped \
|
||||
-p 9494:9494 \
|
||||
-v /path/to/appdata/config:/config \
|
||||
ghcr.io/aleksilassila/reiverr:latest
|
||||
```
|
||||
|
||||
@@ -53,6 +54,8 @@ services:
|
||||
container_name: reiverr
|
||||
ports:
|
||||
- 9494:9494
|
||||
volumes:
|
||||
- /path/to/appdata/config:/config
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
@@ -103,7 +106,7 @@ I'm not a designer, so if you have any ideas for improving the UI, I'd love to l
|
||||
|
||||
To get started with development:
|
||||
|
||||
1. Clone the repo
|
||||
1. Clone the repository
|
||||
2. Run `npm install`
|
||||
3. Run `npm run dev`
|
||||
|
||||
|
||||
@@ -7,3 +7,5 @@ services:
|
||||
container_name: reiverr-dev
|
||||
image: ghcr.io/aleksilassila/reiverr:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config:/config
|
||||
|
||||
Reference in New Issue
Block a user