1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 01:57:02 +00:00
Files
go-inbucket/etc/docker/defaults/greeting.html
Martijn Suijlen 3372ade61b Docker image should run non-root (#153)
Changed the Dockerfile so that there is a Inbucket user (and group). This will allow the container to be executed a the Inbucket user in stead of ROOT (security best practices)

If the user wants to use a different greeting.html file he can use the environment variable to define a different one. For now we just use the greeting.html from the defaults directory.

* Permissions for /start-inbucket.sh file
* Added timezone data so you can set the timezone in the image
* Updated Docker greeting.html file to include some basic instructions
* Updated to alpine 3.11
* Updated to golang 1.14
* Updated the required packages
2020-06-26 08:38:27 -07:00

36 lines
1.6 KiB
HTML

<h1>Welcome to Inbucket</h1>
<p>Inbucket is an email testing service; it will accept email for any email
address and make it available to view without a password.
</p>
<p>To view messages for a particular address, enter the username portion
of the address into the box on the upper right and click <em>View</em>.
</p>
<p>This instance of Inbucket is running inside of a <a
href="https://www.docker.com/" target="_blank">Docker</a> container. It is
configured to retain messages for a maximum of 3 days, and </br>
will enforce a limit of 300 messages per mailbox - the oldest messages will
be deleted to stay under that limit.
</p>
<p>
Messages addressed to any recipient in the <code>@bitbucket.local</code>
domain will be accepted but not written to disk. </br>Use this domain for load or
soak testing your application.
</p>
<p> You can modify this greetings page by changing the Docker environment variable
'INBUCKET_WEB_GREETINGFILE' </br>to point to a different greetings.html. If for
example you have a greetings file on your local machine and want to mount that
you could </br>that file using the docker '--volume' parameter to add your local
greetings.html file to the directory '/custom/greetings.html'. </br>You will then
set the environment variable INBUCKET_WEB_GREETINGFILE to
'/custom/greetings.html'. </br>Your customized file will then be loaded after you
start the Docker container.</p>
<p>
This exact greetings file can be found at:
https://github.com/inbucket/inbucket/blob/master/etc/docker/defaults/greeting.html.
</p>