feta/docker-compose.yml
sneak e6647e47f7
All checks were successful
continuous-integration/drone/push Build is passing
incorporate postgres patch with minor changes
2020-04-05 22:39:33 -07:00

26 lines
543 B
YAML

version: '3.1'
services:
postgres:
image: postgres:12
restart: always
container_name: postgres
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: feta_user
POSTGRES_DB: feta
pgweb:
image: sosedoff/pgweb
restart: always
container_name: pgweb
ports:
- "8081:8081"
links:
- postgres:postgres
environment:
- DATABASE_URL=postgres://feta_user:password@postgres:5432/feta?sslmode=disable
depends_on:
- postgres