Initial commit
This commit is contained in:
26
compose/release/docker-compose.yml
Normal file
26
compose/release/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
Reference in New Issue
Block a user