-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
87 lines (86 loc) · 2.18 KB
/
docker-compose.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
85
86
87
version: '3'
services:
dashboard_in_all:
build: .
container_name: dashboard_in_all
ports:
- 8090:8090
volumes:
- ./:/app
# db:
# image: mysql:latest
# container_name: 'mysql'
# restart: always
# volumes:
# - ./data/mysql/db:/var/lib/mysql
# - ./data/mysql/logs:/var/log/mysql
# environment:
# MYSQL_USER: delta_user
# MYSQL_PASSWORD: delta_user
# MYSQL_ROOT_PASSWORD: delta_user
# MYSQL_DATABASE: delta_dashboard
# healthcheck:
# test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
# interval: 10s
# timeout: 200s
# retries: 20
# ports:
# - 8888:3306
# expose:
# - 3306
# api:
# build: ./server
# container_name: go-service-api
# ports:
# - 8080:8080
# expose:
# - 8080
# depends_on:
# - migrate
# links:
# - db
# environment:
# WORK: server
# ENV: config
# CONNECTOR: delta_user:delta_user@(db:3306)/delta_dashboard
# FRONT_END_DOMAIN: http://localhost:8090
# volumes:
# - ./server/config:/app/config
# migrate:
# build: ./server
# container_name: go-service-migrate
# depends_on:
# db:
# condition: service_healthy
# links:
# - db
# environment:
# WORK: migrate
# ENV: config
# CONNECTOR: "delta_user:delta_user@(db:3306)/delta_dashboard"
# FRONT_END_DOMAIN: http://localhost:8090
# volumes:
# - ./server/config:/app/config
# jupyter:
# build: ./jupyter
# container_name: jupyterhub
# ports:
# - 8000:8000
# depends_on:
# db:
# condition: service_healthy
# links:
# - api
# environment:
# AUTH_URL: http://api:8080/v1/users/auth
# volumes:
# - ./home:/home
# frontend:
# build: ./front
# container_name: deltaboard_frontend
# ports:
# - 8090:8090
# depends_on:
# - api
# links:
# - api