-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (37 loc) · 1.16 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
version: "3"
services:
kexie-chat-mariadb-2024:
container_name: kexie-chat-mariadb-2024
image: mariadb
restart: always
privileged: true
volumes:
- ./mariadb-data:/var/lib/mysql
environment:
MARIADB_USER: kexie-chat
MARIADB_PASSWORD: password # 请自行修改
MARIADB_DATABASE: kexie-chat
MARIADB_ROOT_PASSWORD: password # 请自行修改
kexie-chat-service-2024:
container_name: kexie-chat-service-2024
image: docker.kexie.space/kexie/kexie-chat-service-2024
restart: always
environment:
SET_CONTAINER_TIMEZONE: "true"
CONTAINER_TIMEZONE: Asia/Shanghai
TZ: Asia/Shanghai
volumes:
- ./config/application.yml:/app/application.yml
# - ./config/application-prod.yml:/app/application-prod.yml
# - ./config/application.properties:/app/application.properties
depends_on:
- kexie-chat-mariadb-2024
kexie-chat-web-2024:
container_name: kexie-chat-web-2024
image: docker.kexie.space/kexie/kexie-chat-web-2024
restart: always
ports:
- 15005:80
environment:
BACKEND_URL: "kexie-chat-service-2024:80"
BACKEND_HOST: "chat.kexie.space"