-
Notifications
You must be signed in to change notification settings - Fork 174
Conversation
Thank you for the contribution. It is under consideration. |
I just made some modifications and add a .dockerignore file |
@nierdz thanks for this. did you seen any unofficial stretch (ideally slim) or alpine builds of mono while putting this together? |
@JHabdas I didn't want to use unofficial image so I stick with https://hub.docker.com/_/mono/ |
i'd have put --restart unless-stopped to prevent statistics being nulled. |
Great job here, @nierdz. I learned a lot from your elegant implementation. |
@marcelobcortes assuming you're using this could you provide your experience with the |
/root/acme.sh/acme.sh --install | ||
|
||
# Generate SSL cert | ||
/root/.acme.sh/acme.sh --issue --standalone -d ${DOMAIN} -d www.${DOMAIN} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please see comment here: https://github.com/notgiven688/webminerpool/pull/92/files#r259690063
sorry i'm using something else |
Added
Dockerfile
andentrypoint.sh
Inside entrypoint.sh, a certificate is installed so you need to provide a domain name during docker run.
The certificate is automatically renew using a cronjob. The certificate is not renew every time you run the container cause it uses a volume to persist this data.
To build server:
To run it:
You absolutely need to set a domain name.
The 80:80 bind is used to obtain a certificate.
The 8181:8181 bind is used for server itself.
If you want to bind these ports to a specific IP, you can do this: