Skip to content

Commit

Permalink
Add a dev docker compose
Browse files Browse the repository at this point in the history
dreinhold committed Apr 25, 2021
1 parent d163620 commit b482620
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docker-compose-devel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: '3.7'

services:
db:
image: postgres
environment:
- POSTGRES_PASSWORD=password1234

app:
build:
context: .
ports:
- "8008:80"
volumes:
- .:/app/trunkplayer
# command:
# entrypoint: sh -c "python manage.py runserver 0.0.0.0:8000"
environment:
- DEBUG=1
- SQL_ENGINE=django.db.backends.postgresql_psycopg2
- SQL_DATABASE=tr
- SQL_USER=postgres
- SQL_PASSWORD=password1234
- SQL_HOST=db
- MIGRATE_DB=1
depends_on:
- db

0 comments on commit b482620

Please sign in to comment.