-
Notifications
You must be signed in to change notification settings - Fork 555
/
docker-compose.yml
65 lines (65 loc) · 1.84 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
version: "3.0"
services:
gateway:
build:
context: ./roncoo-education-gateway
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-gateway
container_name: gateway
restart: always
volumes:
- /home/roncoo/logs/gateway:/root/logs/gateway
networks:
- education
ports:
- "7700:7700"
service-system:
build:
context: ./roncoo-education-service/roncoo-education-service-system
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-service-system
container_name: system
restart: always
volumes:
- /home/roncoo/logs/system:/root/logs/system
networks:
- education
ports:
- "7710:7710"
service-user:
build:
context: ./roncoo-education-service/roncoo-education-service-user
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-service-user
container_name: user
restart: always
volumes:
- /home/roncoo/logs/user:/root/logs/user
networks:
- education
ports:
- "7720:7720"
service-course:
build:
context: ./roncoo-education-service/roncoo-education-service-course
args:
JAVA_OPTS: '-Xmn256M -Xmx256M'
RUN_ARGS: '--spring.profiles.active=demo --spring.cloud.nacos.server-addr=localhost:8848'
image: roncoo-education-service-course
container_name: course
restart: always
volumes:
- /home/roncoo/logs/course:/root/logs/course
networks:
- education
ports:
- "7730:7730"
networks:
education:
driver: host