All checks were successful
continuous-integration/drone/push Build is passing
27 lines
685 B
YAML
27 lines
685 B
YAML
version: '3'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:latest
|
|
volumes:
|
|
- $POSTGRES_DATA:/var/lib/postgres
|
|
environment:
|
|
- POSTGRES_USER=$POSTGRES_USER
|
|
- POSTGRES_DB=$POSTGRES_DB
|
|
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
|
|
|
|
confient:
|
|
image: papey/confient:latest
|
|
ports:
|
|
- 127.0.0.1:4000:4000
|
|
volumes:
|
|
- $CONFIENT_DATA:/srv/confient/uploads
|
|
environment:
|
|
- POSTGRES_HOST=postgres
|
|
- POSTGRES_USER=$POSTGRES_USER
|
|
- DATABASE_URL=ecto://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB
|
|
- SECRET_KEY_BASE=$SECRET_KEY_BASE
|
|
- CONFIENT_UPLOAD_DIR=/srv/confient/uploads
|
|
depends_on:
|
|
- postgres
|