-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 1.08 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
version: '3.6'
networks:
kbase-dev:
name: kbase-dev
services:
kbase-ui:
build:
context: .
dockerfile: Dockerfile
image: local/kbase-ui:dev
container_name: kbase-ui
dns: 8.8.8.8
networks:
- kbase-dev
environment:
- DEFAULT_PATH=${DEFAULT_PATH}
command:
- "-template"
- "/kb/deployment/templates/nginx.conf.tmpl:/etc/nginx/nginx.conf"
- "-template"
- "/kb/deployment/templates/config.json.tmpl:/kb/deployment/app/deploy/config.json"
- "bash"
- "/kb/deployment/scripts/start-server.bash"
env_file: dev/gitlab-config/${DEPLOY_ENV:-ci}_config.ini
kbase-ui-proxy:
build:
context: ./tools/proxy
image: local/kbase-ui-proxy:dev
depends_on:
- kbase-ui
networks:
- kbase-dev
container_name: kbase-ui-proxy
ports:
- '80:80'
- '443:443'
dns: 8.8.8.8
env_file: tools/proxy/conf/${DEPLOY_ENV:-ci}.env