-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (57 loc) · 1.55 KB
/
docker-compose.yml
File metadata and controls
65 lines (57 loc) · 1.55 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
version: "3.8"
services:
# Services
service1:
image: node:14.17.5
working_dir: /app
command: [ "npm", "run", "start:dev" ]
network_mode: host
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ./service1:/app:z
service2:
image: node:14.17.5
working_dir: /app
command: [ "npm", "run", "start:dev" ]
network_mode: host
user: "${UID:-1000}:${GID:-1000}"
volumes:
- ./service2:/app:z
# Infrastructure
api-gateway:
image: revomatico/docker-kong-oidc:2.5.1-1
volumes:
- ./kong.yml:/usr/local/kong/declarative/kong.yml:z
network_mode: host
user: root
environment:
KONG_LOG_LEVEL: 'debug'
KONG_PROXY_LISTEN: '0.0.0.0:80, 0.0.0.0:8443 ssl http2'
KONG_ADMIN_LISTEN: '0.0.0.0:7001, 0.0.0.0:7444 ssl'
KONG_STATUS_LISTEN: '0.0.0.0:7100'
KONG_DATABASE: 'off'
KONG_NGINX_WORKER_PROCESSES: '1'
KONG_ADMIN_ACCESS_LOG: '/dev/stdout'
KONG_ADMIN_ERROR_LOG: '/dev/stdout'
KONG_PROXY_ERROR_LOG: '/dev/stdout'
KONG_X_SESSION_STORAGE: 'cookie'
# KONG_PLUGINS: 'bundled,oidc'
KONG_DECLARATIVE_CONFIG: '/usr/local/kong/declarative/kong.yml'
# redis:
# image: redis:6.2.5
# ports:
# - target: 6379
# published: 6379
# redis-commander:
# image: rediscommander/redis-commander:latest
# environment:
# - REDIS_HOSTS=local:redis:6379
# - HTTP_USER=root
# - HTTP_PASSWORD=qwerty
# ports:
# - 8081:8081
# depends_on:
# - redis
# volumes:
# minio:
# driver: local