UNPKG

460 BYAMLView Raw
1version: '3'
2
3services:
4 database:
5 image: circleci/postgres:alpine-ram
6 ports:
7 - 5432:5432
8 env_file:
9 - .db.env
10 restart: unless-stopped
11 pgadmin:
12 # use hostname host.docker.internal to connect instead of localhost
13 # and use db user "knex"
14 image: dpage/pgadmin4
15 ports:
16 - 5000:80
17 environment:
18 PGADMIN_DEFAULT_EMAIL: user@example.com
19 PGADMIN_DEFAULT_PASSWORD: password
20 restart: unless-stopped