-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 867 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (35 loc) · 867 Bytes
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
services:
server:
image: eeg1412/wikimoe-guild-server:latest
container_name: wikimoe-guild-server
restart: unless-stopped
ports:
- '3120:3120'
environment:
- PORT=3120
- MONGODB_URI=mongodb://mongo:27017/wikimoe-guild
- LOG_LEVEL=info
- TZ=Asia/Shanghai
volumes:
- ./server/keys:/app/server/keys
- ./server/logs:/app/server/logs
- ./server/public:/app/server/public
- ./server/lock:/app/server/lock
- ./server/utils/ip2location:/app/server/utils/ip2location
networks:
- wikimoe-guild
depends_on:
- mongo
mongo:
image: mongo:8.2.3-noble
container_name: wikimoe-guild-mongo
restart: unless-stopped
volumes:
- ./mongo_data:/data/db
networks:
- wikimoe-guild
networks:
wikimoe-guild:
driver: bridge
volumes:
mongo_data: