This folder contains the Dockerfile and associated files for the vanhellsing/confluence docker image which aims to make it a breeze getting an Atlassian Confluence instance up and running. This image is a variant of the setup from the vanhellsing/jira image.
This will provision a local PostgreSQL DB container, download the confluence
image from the public Docker Hub, and start a locally running instance of Confluence.
docker-compose upThis will provision a local PostgreSQL DB container, build the confluence
image from the Dockerfile, and start a locally running instance of Confluence. It's
meant to be used when you are contributing to the Dockerfile or don't have
access to the public Docker Hub.
docker-compose -f docker-compose-dev.yml upThe connection to the database can be specified with an URL of the format:
[database type]://[username]:[password]@[host]:[port]/[database name]
Where database type is either mysql or postgresql and the full URL might look like this:
postgresql://confluence:[email protected]/confdb
When a database url is specified Confluence will skip the database configuration step in the setup.
Configuration options are set by setting environment variables when running the image. What follows it a table of the supported variables:
| Variable | Function |
|---|---|
| CONTEXT_PATH | Context path of the confluence webapp. You can set this to add a path prefix to the url used to access the webapp. i.e. setting this to confluence will change the url to http://localhost:8090/confluence/. The value ROOT is reserved to mean that you don't want a context path prefix. Defaults to ROOT |
| DATABASE_URL | Connection URL specifying where and how to connect to a database dedicated to confluence. This variable is optional and if specified will cause the confluence setup wizard to skip the database setup set. |
Content type
Image
Digest
sha256:c3c095555…
Size
614.7 MB
Last updated
almost 11 years ago
docker pull vanhellsing/confluence