-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (38 loc) · 867 Bytes
/
docker-compose.yaml
File metadata and controls
40 lines (38 loc) · 867 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
32
33
34
35
36
37
38
39
40
version: '3.7'
services:
graphql_postgres:
ports:
- 5432:5432
build:
context: ./postgres/
dockerfile: build/Dockerfile
image: graphql_postgres
container_name: graphql_postgres
env_file:
- ./postgres/env/.env
volumes:
- ./postgres/data:/var/lib/posgresql/data
#https://www.cview.co.jp/cvcblog/2020.09.23.yN1U0r8fLlc4XF-i8Mx7K
graphql_adminer:
build:
context: ./adminer/
dockerfile: build/Dockerfile
image: graphql_adminer
container_name: graphql_adminer
env_file:
- ./adminer/env/.env
ports:
- 8010:8080
depends_on:
- graphql_postgres
graphql:
build:
context: ./graphql/
dockerfile: build/Dockerfile
image: graphql
container_name: graphql
env_file:
- ./graphql/env/.env
ports:
- "8011:4000"
tty: true