2023-12-30 22:34:01 +00:00
|
|
|
version: "3"
|
2021-02-26 06:20:41 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
minetrack:
|
2023-12-30 23:27:22 +00:00
|
|
|
image: fascinated/minetrack:latest
|
|
|
|
# or
|
|
|
|
# build: https://git.fascinated.cc/Fascinated/Minetrack.git
|
2021-02-26 06:20:41 +00:00
|
|
|
container_name: minetrack
|
|
|
|
dns:
|
|
|
|
- 8.8.8.8
|
|
|
|
- 1.1.1.1
|
|
|
|
ports:
|
2023-12-30 22:34:01 +00:00
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
2023-12-30 22:39:18 +00:00
|
|
|
# Copy these from the git repo
|
2023-12-30 22:34:01 +00:00
|
|
|
- ./servers.json:/usr/src/minetrack/servers.json
|
|
|
|
- ./config.json:/usr/src/minetrack/config.json
|
2023-12-30 22:39:18 +00:00
|
|
|
|
|
|
|
- ./data:/data # The sqlite database will be stored here
|
2021-02-26 06:20:41 +00:00
|
|
|
restart: always
|