-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.override.yml
84 lines (76 loc) · 1.96 KB
/
docker-compose.override.yml
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
78
79
80
81
82
83
84
version: '2.1'
services:
api:
build:
args:
- APP_ENV=dev
ports:
- 81:80
environment:
WEB_HTTP: "true"
SYMFONY_ENV: dev # Uses the `dev` Symfony environment
SYMFONY_WEB_APP_ENV_REWRITE: "true" # Uses the `app_dev.php` endpoint
volumes:
- ./api:/app
- ./runtime/keys:/runtime/keys
- ~/.kube/config:/runtime/kube-config
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- .env
worker:
build:
args:
- APP_ENV=dev
environment:
SYMFONY_ENV: dev
SKIP_COMPOSER: "true"
GRANT_DOCKER_DAEMON: "true"
NUM_OF_WORKERS: "2"
volumes:
- ./api:/app
- ./runtime/keys:/runtime/keys
- ~/.kube/config:/runtime/kube-config
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- .env
ui:
ports:
- 80:80
- 35729:35729
build:
dockerfile: ./Dockerfile.dev
volumes:
- ./ui/app:/app/app
env_file:
- .env
logstream:
volumes:
- ./logstream/src:/app/src
- ./runtime/keys:/runtime/keys
env_file:
- .env
kube-proxy:
environment:
- KUBE_PROXY_API_URL=http://api
- KUBE_PROXY_LISTEN_ADDRESS=http://0.0.0.0:80
env_file:
- .env
ports:
- 82:80
k8s-watcher:
env_file:
- .env
environment:
- KUBE_PROXY_SCHEME=ws
volumes:
- ./k8s-watcher/src:/app/src
- ./runtime/keys:/runtime/keys
rabbitmq:
ports:
- 15672:15672
- 5672:5672
tunnel:
image: wernight/ngrok
command: ngrok http api:80
ports:
- 4040:4040