-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
102 lines (102 loc) · 2.25 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: '3'
services:
nacos:
image: nacos/nacos-server:2.0.1
ports:
- '8848:8848'
environment:
- 'MODE=standalone'
- 'SPRING_DATASOURCE_PLATFORM=mysql'
- 'MYSQL_SERVICE_HOST=49.233.10.187'
- 'MYSQL_SERVICE_DB_NAME=nacos_config'
- 'MYSQL_SERVICE_USER=root'
- 'MYSQL_SERVICE_PASSWORD=lidaning'
restart: unless-stopped
checkin:
# image: 'lidaning/checkin:1.0'
build:
context: ./
dockerfile: ./checkin/Dockerfile
ports:
- '5020:5020'
environment:
- 'TZ=Asia/Shanghai'
# networks:
# default:
# ipv4_address: 192.168.1.7
restart: unless-stopped
depends_on:
- nacos
todos:
# image: 'lidaning/todos:1.0'
build:
context: ./
dockerfile: ./todos/Dockerfile
ports:
- '5070:5070'
environment:
- 'TZ=Asia/Shanghai'
restart: unless-stopped
depends_on:
- nacos
# countcrying:
# image: 'lidaning/countcrying:1.0'
# build:
# context: ./
# dockerfile: ./countcrying/Dockerfile
# ports:
# - '5000:5000'
# environment:
# - 'TZ=Asia/Shanghai'
studyplan:
# image: 'lidaning/studyplan:1.0'
build:
context: ./
dockerfile: ./studyplan/Dockerfile
ports:
- '5030:5030'
environment:
- 'TZ=Asia/Shanghai'
restart: unless-stopped
depends_on:
- nacos
encourager:
# image: 'lidaning/encourager:1.0'
build:
context: ./
dockerfile: ./encourager/Dockerfile
ports:
- '5050:5050'
environment:
- 'TZ=Asia/Shanghai'
restart: unless-stopped
depends_on:
- nacos
review:
build:
context: ./
dockerfile: ./review/Dockerfile
ports:
- '5080:5080'
environment:
- 'TZ=Asia/Shanghai'
restart: unless-stopped
depends_on:
- nacos
# grocery:
# build:
# context: ./
# dockerfile: ./grocery/Dockerfile
# ports:
# - '5100:5100'
# environment:
# - 'TZ=Asia/Shanghai'
# volumes:
# - "/apps/resource:/apps/resource"
#networks:
# default:
# driver: bridge
# ipam:
# config:
# - subnet: 192.168.1.0/24
# gateway: 192.168.1.1