-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 789 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 789 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
version: '3'
services:
pokaplayer:
image: gnehs/pokaplayer:master
ports:
- "3000"
networks:
- pokaplayer
depends_on:
- neteaseapi2
- mongodb
volumes:
- ./data/config.json:/app/config.json
restart: always
neteaseapi2:
build:
context: .
dockerfile: NeteaseAPI2_Dockerfile
networks:
- pokaplayer
mongodb:
image: mongo:latest
command: --smallfiles
environment:
MONGO_INITDB_ROOT_USERNAME: <admin-user>
MONGO_INITDB_ROOT_PASSWORD: <admin-password>
MONGO_INITDB_DATABASE: <database to create>
volumes:
- ./data/db:/data/db
- ./data/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
networks:
- pokaplayer
networks:
- pokaplayer