Add updated docker files

This commit is contained in:
Ethan O'Brien 2024-07-11 09:15:37 -05:00
parent 002070ad91
commit 1bdf0d5811
2 changed files with 8 additions and 1 deletions

View file

@ -10,6 +10,13 @@ services:
DIRECTORY: /data/ DIRECTORY: /data/
HTTPS: false HTTPS: false
NPPS4_ADDRESS: "http://127.0.0.1:51376" NPPS4_ADDRESS: "http://127.0.0.1:51376"
#Everything below is for the "Help" page
ANDROID_GLOBAL: "link.to/patched/android/global.apk"
ANDROID_JAPAN: "link.to/patched/android/japan.apk"
IOS_GLOBAL: "link.to/ios/global.ipa"
IOS_JAPAN: "link.to/ios/japan.ipa"
ASSET_URL: "link.to/client/assets/"
ports: ports:
- 8081:8081 - 8081:8081
volumes: volumes:

View file

@ -7,4 +7,4 @@ npps4="${NPPS4_ADDRESS:-http://127.0.0.1:51376}"
https=$([ "$HTTPS" = "true" ] && echo "--https" || echo "") https=$([ "$HTTPS" = "true" ] && echo "--https" || echo "")
/root/ew/ew --path $directory --port $port --npps4 $npps4 $https /root/ew/ew --path $directory --port $port --npps4 $npps4 $https --global-android "$ANDROID_GLOBAL" --japan-android "$ANDROID_JAPAN" --global-ios "$IOS_GLOBAL" --japan-ios "$IOS_JAPAN" --assets-url "$ASSET_URL"