e274c354e8c1b32a3af326cb1661834f55e706e7
docker-compose configuration for ThreeTwo
This repo contains the docker-compose files necessary to run:
- ThreeTwo UI
threetwo-core-serviceand its dependenciesthreetwo-metadata-serviceand its dependencies
Pre-requisites
Docker and docker-compose
You need both docker and docker-compose installed on your OS. Currently, Docker version 20.10.10, build b485636 and docker-compose version 1.29.2, build 5becea4c have tested well on Debian 4.19.208-1
comics and userdata folders
You need 2 folders:
-
comicswill contain your... comics -
userdatawill be used by the app to create app-specific files -
The structure should be like so:
- comics - userdata |- covers |- expanded |- temporary
ComicVine
To get ComicVine to work for metadata scraping and other functions, you must have a ComicVine API key. You can get one here. Metadata scraping will not work unless you supply an API key.
AirDC++
- To use AirDC++, you need a working install of... AirDC++
- Then within the UI, you need to set up the connection at
Settings > Acquisition > AirDC++ > Connection - After successfully connecting, you need to select your default hubs for search under
Settings > Acquisition > AirDC++ > Hubs
Building the stack
- Clone this repo
- Create a network using
docker network create proxy - Edit the
docker-compose.envfile- Find the hostname of your machine and set the
UNDERLYING_HOSTNAMEto that. For e.g.UNDERLYING_HOSTNAME=foo - Set the
COMICS_DIRECTORYandUSERDATA_DIRECTORYto the correct absolute paths - Set the
COMICVINE_APIto your ComicVine API key
- Find the hostname of your machine and set the
- Save the file
- Run the stack using:
env $(cat docker-compose.env | xargs) docker-compose up
Ports
threetwo, the UI runs on port8050threetwo-core-serviceservice on3000threetwo-metadata-serviceservice on3080
Troubleshooting
General
- 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 - Always check the logs of the offending service,
docker logs --follow <servicename>
Description
Languages
Dotenv
100%