Skip to content

Commit

Permalink
Dev compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
pppontusw committed May 18, 2019
1 parent 71500b0 commit 5d9d46d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ __pycache__
secrets.sh
logs/
.env*
alembic-*.ini
docker-compose.yml
alembic-*.ini
23 changes: 23 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: '3'

services:
frontend:
restart: always
build:
context: ./
dockerfile: Dockerfile-dev
ports:
- "8000:5000"
links:
- postgres:dbserver
volumes:
- ./app:/home/foodlist/app

postgres:
restart: always
image: postgres:latest
environment:
POSTGRES_PASSWORD: Rand0MPazsw0rd
POSTGRES_DB: foodlist
ports:
- "5432:5432"

0 comments on commit 5d9d46d

Please sign in to comment.