-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
77 lines (72 loc) · 1.68 KB
/
docker-compose.yaml
File metadata and controls
77 lines (72 loc) · 1.68 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: "3.8"
services:
#############################################################################################
### Express API ###
#############################################################################################
ibe-app:
image: ibe-app
container_name: ibe-app
build:
context: ./app
dockerfile: Dockerfile
networks:
- ibe-net
depends_on:
- ibe-db
- ibe-api
ports:
- 3500:3500
ibe-db:
image: ibe-db
container_name: postgres-ibe
build:
context: ./postgres
target: ibe-db
networks:
- ibe-net
environment:
- POSTGRES_USER=${PGUSER}
- POSTGRES_PASSWORD=${PGPASSWORD}
- POSTGRES_DB=${PGDATABASE}
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 5s
timeout: 5s
retries: 5
ports:
- 4000:4000
command: -p 4000
ibe-api:
image: ibe-api
container_name: ibe-api
build:
context: ./server
dockerfile: Dockerfile
ports:
- 3100:3100
networks:
- ibe-net
depends_on:
- ibe-db
# keycloak:
# image: quay.io/keycloak/keycloak:latest
# build:
# context: ./keycloak
# environment:
# DB_VENDOR: POSTGRES
# DB_ADDR: postgres
# DB_DATABASE: keycloak
# DB_USER: postgres
# DB_SCHEMA: public
# DB_PASSWORD: postgres
# KEYCLOAK_USER: admin
# KEYCLOAK_PASSWORD: admin
# ports:
# - 8080:8080
# networks:
# - ibe-net
# depends_on:
# - postgres
networks:
ibe-net:
driver: 'bridge'