forked from openpitrix/openpitrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (53 loc) · 1.34 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
# Copyright 2017 The OpenPitrix Authors. All rights reserved.
# Use of this source code is governed by a Apache license
# that can be found in the LICENSE file.
version: '3'
services:
openpitrix-db:
image: "mysql:5.6"
environment:
- MYSQL_DATABASE=openpitrix
- MYSQL_ROOT_PASSWORD=password
ports:
- "13306:3306" # only for debug
container_name: "openpitrix-db"
openpitrix-app:
build: .
image: "openpitrix"
command: app
links:
- openpitrix-db:openpitrix-db
container_name: "openpitrix-app"
openpitrix-runtime:
build: .
image: "openpitrix"
command: runtime
links:
- openpitrix-db:openpitrix-db
container_name: "openpitrix-runtime"
openpitrix-cluster:
build: .
image: "openpitrix"
command: cluster
links:
- openpitrix-db:openpitrix-db
container_name: "openpitrix-cluster"
openpitrix-repo:
build: .
image: "openpitrix"
command: repo
links:
- openpitrix-db:openpitrix-db
container_name: "openpitrix-repo"
openpitrix-api:
build: .
image: "openpitrix"
command: api
ports:
- "9100:9100"
links:
- openpitrix-app:openpitrix-app
- openpitrix-runtime:openpitrix-runtime
- openpitrix-cluster:openpitrix-cluster
- openpitrix-repo:openpitrix-repo
container_name: "openpitrix-api"