Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

This repo contains the base dockerfiles for building RavenDB(Server) Images.

License

Notifications You must be signed in to change notification settings

FriendlyAgent/RavenDB.Docker

Repository files navigation

RavenDB.Docker

This repo contains the base dockerfiles for building RavenDB(Server) Images.

Docker Stars Docker Pulls Docker build

Supported tags and respective Dockerfile links

Version Build Tags Base Git
4.0.0-beta 40016 40016, 4.0.0-beta-40016, latest ubuntu:xenial RavenDB.Docker
4.0.0-beta 40014 40014, 4.0.0-beta-40014 ubuntu:xenial RavenDB.Docker
4.0.0-alpha 40013 40013, 4.0.0-alpha-40013 ubuntu:xenial RavenDB.Docker
4.0.0-alpha 40012 40012, 4.0.0-alpha-40012 ubuntu:xenial RavenDB.Docker
4.0.0-alpha 40010 40010, 4.0.0-alpha-40010 ubuntu:xenial RavenDB.Docker
4.0.0-alpha 40009 40009, 4.0.0-alpha-40009 ubuntu:xenial RavenDB.Docker
4.0.0-alpha 40008 40008, 4.0.0-alpha-40008 ubuntu:xenial RavenDB.Docker
4.0.0-alpha 40005 40005, 4.0.0-alpha-40005 ubuntu:xenial RavenDB.Docker

How to use this image

docker run -p 8080:8080 friendlyagent/ravendb This will store the workspace in /var/lib/ravendb all RavenDB data is contained within that workspace. RavenDB will store the system and subsequent database(s) there.

Note: You will probably want to make that a persistent volume (recommended).

docker run -p 8080:8080 -v /your/home:/var/lib/ravendb friendlyagent/ravendb This will store the RavenDB data in /your/home on the host.

You can also use a volume container

docker run --name myravendb -p 8080:8080 -v /var/lib/ravendb friendlyagent/ravendb Then myravendb container has the volume (please do read about docker volume handling to find out more).

Environment Variables

You can use environment properties to manipulate the container (Example: -e RAVEN_ServerUrl='http://0.0.0.0:9090')

  • RAVEN_Port: The port to use when creating the http listener.
  • RAVEN_ServerUrl: The URLs which the server should listen to.
  • RAVEN_TCP_Port: The TCP port to use when creating the tcp listener.
  • RAVEN_TCP_Url: The TCP URL which the server should listen to.
  • RAVEN_DataDir: The directory for the RavenDB resource.
  • RAVEN_AllowAnonymous: When set to true, exposes the database to the world.
  • RAVEN_LogsMode: The settings used for logging {None, Operations(High level info for operational users), Information(Low level debug info)}.

Note: These are the environment properties for the alpha builds.

  • RAVEN_Port: The port to use when creating the http listener.
  • RAVEN_ServerUrl: The URLs which the server should listen to.
  • RAVEN_DataDir: The directory for the RavenDB resource.
  • RAVEN_EverybodyAsAdmin: When set to true, exposes the database to the world.

User Feedback

Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Releases

No releases published

Packages

No packages published

Languages