mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Refactoring Collections, and getting docker ready.
This commit is contained in:
28
docker/docker-compose.yml
vendored
28
docker/docker-compose.yml
vendored
@@ -1,15 +1,17 @@
|
||||
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/"
|
||||
# db:
|
||||
# image: "postgres"
|
||||
# restart: always
|
||||
# environment:
|
||||
# - "POSTGRES_PASSWORD=pyshelf"
|
||||
# - "POSTGRES_USER=pyshelf"
|
||||
# - "POSTGRES_DB=pyshelf"
|
||||
# volumes:
|
||||
# - "db_data:/var/lib/postgresql/data/"
|
||||
# ports:
|
||||
# - "5433:5432"
|
||||
pyshelf:
|
||||
image: "pyshelf/pyshelf"
|
||||
restart: always
|
||||
@@ -18,7 +20,7 @@ services:
|
||||
- "1337:1337"
|
||||
volumes:
|
||||
- "${LOCAL_BOOK_DIR}:/books"
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
db_data:
|
||||
# depends_on:
|
||||
# - db
|
||||
#volumes:
|
||||
# db_data:
|
||||
|
||||
Reference in New Issue
Block a user