mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Updating config file to look for env. variable, if not available use it from the JSON
This commit is contained in:
4
docker-compose.yml
vendored
4
docker-compose.yml
vendored
@@ -3,15 +3,16 @@ version: "3.7"
|
||||
services:
|
||||
db:
|
||||
image: "postgres"
|
||||
restart: always
|
||||
environment:
|
||||
- "POSTGRES_PASSWORD=pyshelf"
|
||||
- "POSTGRES_USER=pyshelf"
|
||||
- "POSTGRES_DB=pyshelf"
|
||||
volumes:
|
||||
- "db_data:/var/lib/postgresql/data/"
|
||||
|
||||
pyshelf:
|
||||
image: "pyshelf/pyshelf"
|
||||
restart: always
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "1337:1337"
|
||||
@@ -19,6 +20,5 @@ services:
|
||||
- "${LOCAL_BOOK_DIR}:/books"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
|
||||
Reference in New Issue
Block a user