wagtail-birdsong/docker-compose.yml

43 lines
1.0 KiB
YAML
Raw Normal View History

version: "3"
services:
postgres:
environment:
POSTGRES_DB: birdsong
POSTGRES_USER: birdsong_dev
POSTGRES_PASSWORD: password
image: postgres:14
expose:
- "5432"
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
- postgres
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
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'