UNPKG

498 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 container_name: pgadmin_container
15 image: dpage/pgadmin4
16 ports:
17 - 5000:80
18 environment:
19 PGADMIN_DEFAULT_EMAIL: user@example.com
20 PGADMIN_DEFAULT_PASSWORD: password
21 restart: unless-stopped