mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Adding docker directory with docker support
This commit is contained in:
21
docker/docker-compose.yml
vendored
Normal file
21
docker/docker-compose.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "3.3"
|
||||
services:
|
||||
db:
|
||||
image: "postgres:${POSTGRES_VER}"
|
||||
environment:
|
||||
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
|
||||
- "POSTGRES_USER=${POSTGRES_USER}"
|
||||
- "POSTGRES_DB=${POSTGRES_DB}"
|
||||
|
||||
pyshelf:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- "${LOCAL_BOOK_DIR}:/Books"
|
||||
ports:
|
||||
- "8088:8000"
|
||||
links:
|
||||
- "db:db"
|
||||
depends_on:
|
||||
- db
|
||||
Reference in New Issue
Block a user