forked from luckydonald/pbft
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.docker-compose.yml
More file actions
31 lines (29 loc) · 813 Bytes
/
api.docker-compose.yml
File metadata and controls
31 lines (29 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '2'
services:
api:
build:
context: .
dockerfile: ./api.Dockerfile
restart: "unless-stopped"
environment:
POSTGRES_HOST: "postgres" # service name
POSTGRES_USER: "postgres"
POSTGRES_PASS: "1234secure"
POSTGRES_DB: "messages"
postgres:
image: postgres
restart: "unless-stopped"
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "1234secure"
POSTGRES_DB: "messages"
postgres_browser:
# image: jacksoncage/phppgadmin
build: ./extras/phppgadmin-docker
environment:
POSTGRES_HOST: "postgres" # service name
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "1234secure"
POSTGRES_DEFAULTDB: "messages"
# APACHE_SERVERNAME: "postgres_browser"
APACHE_SERVERNAME: "localhost"