Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
initial docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Aug 11, 2017
1 parent 528a302 commit 84d8505
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: "3"
services:
web:
build: .
ports:
- "8080:8080"
depends_on:
- db
- redis
env_file: .env
environment:
- SECRET_KEY=unsafe_secret
- REDIS_URL=redis://redis/0
- SQLALCHEMY_DATABASE_URI=postgresql://postgres@db/postgres
db:
image: postgres:latest
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
redis:
image: redis:alpine
ports:
- "6379:6379"

0 comments on commit 84d8505

Please sign in to comment.