-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to successfully use tinfoil store. Please tell me how to troubleshoot the problem #1
Comments
The problem is, that api.github.com didnt work for me. So i changed the Dockerfile to fetch the release v.2.0.2 and not use curl and grep. When you cloned the git from this repository, cd into the created tinfoil-web-server folder, and edit the Dockerfile (e.g. with nano). With this Dockerfile it was working for me.
FROM debian:latest
# install dependencies
RUN apt update -y && apt install -y \
curl \
wget \
unzip \
libicu-dev
#download the latest release of the app, extract it and remove the zip etc
# download the latest release of the app, extract it and remove the zip etc
RUN wget https://github.com/Myster-Tee/TinfoilWebServer/releases/download/v2.0.2/TinfoilWebServer_v2.0.2_Framework-Independent-linux-x64.zip -O tinfoil-webserver.zip \
&& unzip tinfoil-webserver.zip || true \
&& rm tinfoil-webserver.zip \
&& mv TinfoilWebServer* TinfoilWebServer \
&& chmod +x /TinfoilWebServer/TinfoilWebServer
# copy the settings file from the host
COPY ./settings.json /TinfoilWebServer.config.json
# run the app
ENTRYPOINT ["/TinfoilWebServer/TinfoilWebServer"] |
And the settings.json must look like this {
"ServedDirectories": [ "/games" ],
"StripDirectoryNames": true,
"ServeEmptyDirectories": false,
"AllowedExt": [ "nsp", "nsz", "xci", "xcz" ],
"MessageOfTheDay": "Welcome to my tinfoil shop! by test",
"CustomIndexPath": null,
"Cache": {
"AutoDetectChanges": true,
"PeriodicRefreshDelay": "01:00:00"
},
"Authentication": {
"Enabled": true,
"WebBrowserAuthEnabled": false,
"PwdType": "Plaintext",
"Users": [
{
"Name": "test",
"Pwd": "test",
"MaxFingerprints": 1,
"MessageOfTheDay": "Hello test!",
"CustomIndexPath": null
}
]
},
"FingerprintsFilter": {
"Enabled": false,
"FingerprintsFilePath": "fingerprints.json",
"MaxFingerprints": 1
},
"Blacklist": {
"Enabled": true,
"FilePath": "blacklist.txt",
"MaxConsecutiveFailedAuth": 3,
"IsBehindProxy": false
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://0.0.0.0:80"
}
}
},
"Logging": {
"LogLevel": {
"Default": "Information"
},
"Console": {
"LogLevel": {
"Default": "Information"
}
},
"File": {
"Path": "TinfoilWebServer.log",
"Append": true,
"MinLevel": "Information",
"FileSizeLimitBytes": 1000000,
"MaxRollingFiles": 10
}
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The author of TinfoilWebServer has made updates in the past few days. After that, I followed your steps and was unable to successfully use the tin foil shop. Please tell me how to troubleshoot the problem
The text was updated successfully, but these errors were encountered: