✏️ Added instructions for docker-compose

This commit is contained in:
2022-03-28 09:19:44 -07:00
parent 387da6edc6
commit ae524019af
2 changed files with 18 additions and 0 deletions

View File

@@ -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.

View File

@@ -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