-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (64 loc) · 1.24 KB
/
docker-compose.yml
File metadata and controls
69 lines (64 loc) · 1.24 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
version: '3.4'
networks:
default:
driver: bridge
volumes:
kong-datastore:
elasticsearch:
services:
kong-db:
image: postgres
volumes:
- kong-datastore:/var/lib/postgresql/data
networks:
- default
ports:
- "15432:5432"
env_file:
- kong/.env
kong:
build: kong
networks:
- default
env_file:
- kong/.env
ports:
- "8000:8000" # Listener
- "8001:8001" # Admin API
- "8002:8002" # Admin API
api:
build: api
networks:
- default
volumes:
- ./api/:/app
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "5000", "--reload"]
keycloak-db:
image: postgres
env_file:
- authentication/.env
networks:
- default
ports:
- "25432:5432"
keycloak:
build:
context: authentication
dockerfile: Dockerfile
env_file:
- authentication/.env
networks:
- default
ports:
- "8080:8080"
front:
build:
context: front
dockerfile: front/Dockerfile.nginx
volumes:
- ./front/dist/:/etc/nginx/html/dist/
- ./front/data/nginx/:/etc/nginx/conf.d
networks:
- default
ports:
- 7777:7777