forked from Wykerd/bazcal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (31 loc) · 902 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (31 loc) · 902 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
# Example docker-compose file, just replace the environment variables of the bazcal to the correct ones for you
version: '3.1'
services:
bazcal:
build: .
restart: unless-stopped
environment:
API_KEY: YOUR HYPIXEL API KEY
DISCORD_KEY: YOUR DISCORD BOT TOKEN
API_ENDPOINT: https://api.hypixel.net/skyblock/bazaar
DATA_DIR: /data
volumes:
- ./data:/data
networks:
- outside
- backend
ports:
- 80:80
mongo:
image: mongo
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example # I just keep it this 'cause its an internal db.
networks:
- backend
networks:
outside:
internal: false
backend:
internal: true