docker-compose is now functional

added a cronjob in the pyShelf container to update the Books directory every 5 minutes
went back to using a variable for the exposed port
This commit is contained in:
Tony Hendrick
2020-05-14 11:29:50 -07:00
parent febacd73bb
commit 0876b3953b
3 changed files with 13 additions and 2 deletions

View File

@@ -13,8 +13,9 @@ services:
dockerfile: Dockerfile
volumes:
- "${LOCAL_BOOK_DIR}:/usr/src/app/Books"
- "./cron/root:/etc/crontabs/root"
ports:
- "8088:8000"
- "${PORT}:8000"
links:
- "db:db"
depends_on: