Files
confient/compose/prod/docker-compose.yml
Wilfried OLLIVIER 51df7e0f01
All checks were successful
continuous-integration/drone/push Build is passing
Rename compose release to prod
2020-12-12 19:19:06 +01:00

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