Commit Graph

5 Commits (87277df91ba0e43023a7d80fe7207d9f4cf62faa)

Author SHA1 Message Date
Tom Samstag 87277df91b Docker: move database to a directory
This makes a minor change to the Dockerfile to change the default
location of the Gophish database within the docker container to be in
its own directory (./data/). This would allow for that directory to be
bind mounted making it easier to persist the database over container
restarts. Attempting to bind mount just the database file is problematic
if the file doesn't yet exist, as Docker will create a directory instead
of the file and Gophish won't be able to create the database file.

This should help to address issues that are brought up periodically
regarding database persistence in Docker (e.g. #2764 #1969 #2416)
2023-03-30 11:15:21 -07:00
ssssdl e6533e9993
Update Dockerfile (#2095)
Updates the Go version used by the Dockerfile
2021-01-24 13:44:10 -06:00
Jordan Wright c2f579a2c5 Updated the Dockerfile to allow the gophish binary to bind to privileged ports. Fixes #1660. 2019-11-23 21:28:32 -06:00
quelsan 3227437f52 Improved Dockerfile and run script (#1579)
The Dockerfile has also been rebuilt to use an unprivileged user instead
of root.

The run script adds more options and changes the method the
configuration is overwritten, which may help in situations where the
configuration is not owned by the unprivileged user.
2019-10-06 20:18:06 -07:00
Will Woodson 27553ccc1f Add Dockerfile (#1437)
Added dockerfile
2019-04-25 20:19:18 -05:00