Updated readme for prebuild image. Fixes #20
This commit is contained in:
parent
a9220b331f
commit
5f22300170
17
README.md
17
README.md
@ -56,15 +56,7 @@ mkdir -p static/{sets,instructions,parts,minifigs}
|
|||||||
touch app.db
|
touch app.db
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Create a `.env` file with your configuration:
|
2. Create Docker Compose file:
|
||||||
```
|
|
||||||
REBRICKABLE_API_KEY=your_api_key_here
|
|
||||||
DOMAIN_NAME=https://your.domain.com
|
|
||||||
```
|
|
||||||
|
|
||||||
If using locally, set `DOMAIN_NAME` to `http://localhost:3333`.
|
|
||||||
|
|
||||||
3. Create Docker Compose file:
|
|
||||||
```bash
|
```bash
|
||||||
services:
|
services:
|
||||||
bricktracker:
|
bricktracker:
|
||||||
@ -80,9 +72,14 @@ services:
|
|||||||
- ./static/sets:/app/static/sets
|
- ./static/sets:/app/static/sets
|
||||||
- ./static/minifigs:/app/static/minifigs
|
- ./static/minifigs:/app/static/minifigs
|
||||||
- ./app.db:/app/app.db
|
- ./app.db:/app/app.db
|
||||||
|
environment:
|
||||||
|
- REBRICKABLE_API_KEY=your_api_key_here
|
||||||
|
- DOMAIN_NAME=https://your.domain.com
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Deploy with Docker Compose:
|
If using locally, set `DOMAIN_NAME` to `http://localhost:3333`.
|
||||||
|
|
||||||
|
3. Deploy with Docker Compose:
|
||||||
```bash
|
```bash
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user