diff --git a/README.md b/README.md index af004fa..8ae4586 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,15 @@ You need 2 folders: 1. `comics` will contain your... comics 2. `userdata` will be used by the app to create app-specific files +3. The structure should be like so: + + ``` + - comics + - userdata + |- covers + |- expanded + |- temporary + ``` #### ComicVine @@ -43,11 +52,17 @@ You can get one [here.](https://comicvine.gamespot.com/api/) Metadata scraping w 4. Save the file 5. Run the stack using: `env $(cat docker-compose.env | xargs) docker-compose up` +### Ports + +1. `threetwo`, the UI runs on port `8050` +2. `threetwo-core-service` service on `3000` +3. `threetwo-metadata-service` service on `3080` + ## 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. Always check the logs of the offending service, `docker logs --follow ` diff --git a/docker-compose.yml b/docker-compose.yml index 85268fe..4488bef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,24 +34,6 @@ services: networks: - proxy - # comicvineapi: - # build: - # context: https://github.com/rishighan/threetwo-metadata-service.git - # image: frishi/threetwo-metadata-service - # container_name: comicvine-api - # ports: - # - "3080:3080" - # volumes: - # - *comics-volume - # - *userdata-volume - # environment: - # SERVICES: api - # env_file: docker-compose.env - # depends_on: - # - redis - # networks: - # - proxy - metadata-service: build: context: https://github.com/rishighan/threetwo-metadata-service.git @@ -70,27 +52,6 @@ services: networks: - proxy - # importapi: - # build: - # context: https://github.com/rishighan/threetwo-core-service.git - # image: frishi/threetwo-core-service - # container_name: importapi - # ports: - # - "3000:3000" - # - "3001:3001" - # environment: - # SERVICES: api - # env_file: docker-compose.env - # volumes: - # - *comics-volume - # - *userdata-volume - # depends_on: - # - redis - # - db - # - elasticsearch - # networks: - # - proxy - core-services: build: context: https://github.com/rishighan/threetwo-core-service.git