25 lines
537 B
YAML
25 lines
537 B
YAML
pipeline:
|
|
backend:
|
|
image: python
|
|
environment:
|
|
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
|
|
- EMAIL_URL=smtp://admin:password@localhost:10025
|
|
commands:
|
|
- pip install virtualenv
|
|
- make env
|
|
- make lint
|
|
- make test
|
|
|
|
services:
|
|
database:
|
|
image: postgres
|
|
environment:
|
|
- POSTGRES_PASSWORD=password
|
|
|
|
smtp:
|
|
image: maildev/maildev
|
|
environment:
|
|
- MAILDEV_SMTP_PORT=10025
|
|
- MAILDEV_INCOMING_USER=admin
|
|
- MAILDEV_INCOMING_PASS=password
|