mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Removing migrate from Dockerfile
This commit is contained in:
10
docker/docker-compose.yml
vendored
10
docker/docker-compose.yml
vendored
@@ -1,4 +1,4 @@
|
||||
version: "3.3"
|
||||
version: "3.7"
|
||||
services:
|
||||
db:
|
||||
image: "postgres:${POSTGRES_VER}"
|
||||
@@ -6,6 +6,8 @@ services:
|
||||
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
|
||||
- "POSTGRES_USER=${POSTGRES_USER}"
|
||||
- "POSTGRES_DB=${POSTGRES_DB}"
|
||||
volumes:
|
||||
- ./postgres_data/:/var/lib/postgresql/data/
|
||||
|
||||
pyshelf:
|
||||
build:
|
||||
@@ -13,11 +15,9 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- "${LOCAL_BOOK_DIR}:/usr/src/app/Books"
|
||||
- "./cron/root:/etc/crontabs/root"
|
||||
- "./scripts/wait-for-it.sh:/usr/src/app/src/"
|
||||
# - "./cron/root:/etc/crontabs/root"
|
||||
# - "./scripts/wait-for-it.sh:/usr/src/app/src/"
|
||||
ports:
|
||||
- "${PORT}:8000"
|
||||
links:
|
||||
- "db:db"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
Reference in New Issue
Block a user