✏️ Added instructions for docker-compose
This commit is contained in:
14
README.md
14
README.md
@@ -36,3 +36,17 @@ You can get one [here.](https://comicvine.gamespot.com/api/) Metadata scraping w
|
|||||||
|
|
||||||
1. Clone this repo
|
1. Clone this repo
|
||||||
2. Edit the `docker-compose.env` file
|
2. Edit the `docker-compose.env` file
|
||||||
|
1. Find the hostname of your machine and set the `UNDERLYING_HOSTNAME` to that. For e.g. `UNDERLYING_HOSTNAME=foo`
|
||||||
|
2. Set the `COMICS_DIRECTORY` and `USERDATA_DIRECTORY` to the correct _absolute_ paths
|
||||||
|
3. Set the `COMICVINE_API` to your ComicVine API key
|
||||||
|
3. Save the file
|
||||||
|
4. Run the stack using: `env $(cat docker-compose.env | xargs) docker-compose up`
|
||||||
|
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
General
|
||||||
|
|
||||||
|
1. Some common problems can be traced to out-of-date images, and as such can be mitigated by simply pruning orphaned images: `docker system prune -a`
|
||||||
|
2.
|
||||||
|
|
||||||
|
|||||||
@@ -2,10 +2,14 @@ UNDERLYING_HOSTNAME=ghost
|
|||||||
COMICS_DIRECTORY=/Users/rishi/work/threetwo/comics
|
COMICS_DIRECTORY=/Users/rishi/work/threetwo/comics
|
||||||
USERDATA_DIRECTORY=/Users/rishi/work/threetwo/userdata
|
USERDATA_DIRECTORY=/Users/rishi/work/threetwo/userdata
|
||||||
|
|
||||||
|
COMICVINE_API_KEY=foobar
|
||||||
|
|
||||||
|
|
||||||
LOGGER=true
|
LOGGER=true
|
||||||
LOGLEVEL=info
|
LOGLEVEL=info
|
||||||
SERVICEDIR=dist/services
|
SERVICEDIR=dist/services
|
||||||
|
|
||||||
|
UNRAR_BIN_PATH=
|
||||||
MONGO_URI=mongodb://db:27017/threetwo
|
MONGO_URI=mongodb://db:27017/threetwo
|
||||||
REDIS_URI=redis://redis:6379
|
REDIS_URI=redis://redis:6379
|
||||||
TRANSPORTER=redis://redis:6379
|
TRANSPORTER=redis://redis:6379
|
||||||
|
|||||||
Reference in New Issue
Block a user