forked from Hostea/dashboard
21 lines
483 B
YAML
21 lines
483 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
|
|
- make coverage
|
|
- make integration-test
|
|
secrets: [ STRIPE_PUBLIC_KEY, STRIPE_SECRET_KEY ]
|
|
|
|
services:
|
|
database:
|
|
image: postgres
|
|
environment:
|
|
- POSTGRES_PASSWORD=password
|