2020-05-26 23:35:13 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
2020-06-15 05:04:48 +00:00
|
|
|
postgres:
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: birdsong
|
|
|
|
POSTGRES_USER: birdsong_dev
|
|
|
|
POSTGRES_PASSWORD: password
|
|
|
|
restart: always
|
|
|
|
image: postgres:9.6
|
|
|
|
expose:
|
|
|
|
- "5432"
|
2020-05-26 23:35:13 +00:00
|
|
|
birdsong:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
restart: always
|
|
|
|
command: django-admin runserver 0.0.0.0:8080
|
|
|
|
links:
|
|
|
|
- mjml
|
2020-06-04 01:11:51 +00:00
|
|
|
- mail
|
2020-06-15 05:04:48 +00:00
|
|
|
- postgres
|
2020-05-26 23:35:13 +00:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
container_name: 'birdsong_dev'
|
|
|
|
working_dir: '/srv'
|
|
|
|
volumes:
|
|
|
|
- './tests:/srv/tests'
|
|
|
|
- './birdsong:/srv/birdsong'
|
|
|
|
- './settings_dev.py:/srv/settings_dev.py'
|
|
|
|
# - './local.sqlite3:/srv/local.sqlite3'
|
|
|
|
mjml:
|
|
|
|
image: liminspace/mjml-tcpserver:latest
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "28101"
|
2020-06-04 01:11:51 +00:00
|
|
|
container_name: 'birdsong_mjml'
|
|
|
|
|
|
|
|
mail:
|
|
|
|
image: djfarrelly/maildev
|
|
|
|
ports:
|
|
|
|
- "8081:80"
|
|
|
|
container_name: 'birdsong_mail'
|
|
|
|
|