mirror of
https://github.com/cloudmaker97/FS25-Discord-Bot.git
synced 2025-12-06 00:18:34 +00:00
Local development with webserver and demo files
Some checks failed
Docker Build / build-and-push (push) Has been cancelled
Some checks failed
Docker Build / build-and-push (push) Has been cancelled
This commit is contained in:
parent
4e6668c2e5
commit
24f65956ab
7 changed files with 15 additions and 7 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"application": {
|
"application": {
|
||||||
"serverPassword": "TypeMyServerPasswordHere",
|
"serverPassword": "TypeMyServerPasswordHere",
|
||||||
"serverStatsUrl": "http://1.1.1.1:8080/feed/dedicated-server-stats.xml",
|
"serverStatsUrl": "http://127.0.0.1:8080/feed/dedicated-server-stats.xml",
|
||||||
"serverMapUrl": "http://1.1.1.1:8080/feed/dedicated-server-stats-map.jpg",
|
"serverMapUrl": "http://127.0.0.1:8080/feed/dedicated-server-stats-map.jpg",
|
||||||
"updateIntervalSeconds": 30
|
"updateIntervalSeconds": 30
|
||||||
},
|
},
|
||||||
"discord": {
|
"discord": {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"application": {
|
"application": {
|
||||||
"serverPassword": "TypeMyServerPasswordHere",
|
"serverPassword": "TypeMyServerPasswordHere",
|
||||||
"serverStatsUrl": "http://1.1.1.1:8080/feed/dedicated-server-stats.xml",
|
"serverStatsUrl": "http://127.0.0.1:8080/feed/dedicated-server-stats.xml",
|
||||||
"serverMapUrl": "http://1.1.1.1:8080/feed/dedicated-server-stats-map.jpg",
|
"serverMapUrl": "http://127.0.0.1:8080/feed/dedicated-server-stats-map.jpg",
|
||||||
"updateIntervalSeconds": 30
|
"updateIntervalSeconds": 30
|
||||||
},
|
},
|
||||||
"discord": {
|
"discord": {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
version: "2"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ls25bot:
|
ls25bot:
|
||||||
build:
|
build:
|
||||||
|
|
@ -24,4 +22,14 @@ services:
|
||||||
sleep 7200 # Each 2 hours
|
sleep 7200 # Each 2 hours
|
||||||
echo "Restarting ls25bot container at $(date)"
|
echo "Restarting ls25bot container at $(date)"
|
||||||
docker restart ls25bot
|
docker restart ls25bot
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# This is used for development purposes only
|
||||||
|
webserver:
|
||||||
|
image: nginx:alpine
|
||||||
|
container_name: ls25bot-webserver
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./misc/files:/usr/share/nginx/html
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
BIN
misc/files/feed/dedicated-server-stats-map.jpg
Normal file
BIN
misc/files/feed/dedicated-server-stats-map.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
Loading…
Reference in a new issue