Skip to content
Snippets Groups Projects
Commit 4399dbf7 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Add docker-compose to start steering and Postgres

parent 9f7234ad
No related branches found
No related tags found
No related merge requests found
version: '3.8'
services:
django:
build: .
command: python manage.py runserver 0.0.0.0:8000
container_name: django
volumes:
- .:/steering
expose:
- "8000"
ports:
- "8000:8000"
depends_on:
- postgres
environment:
- DEBUG=True
- SECRET_KEY=foo
- POSTGRES_PASSWORD=aura
postgres:
image: postgres:13.5-bullseye
container_name: steering-postgres
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=steering
- POSTGRES_PASSWORD=aura
- POSTGRES_DB=steering
expose:
- "5432"
volumes:
postgres_data:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment