OpenProject all in one image with Docker compose

Submitted by Falken on

For reasons, the official docs at https://www.openproject.org/docs/installation-and-operations/installation/docker/#quick-start do not include a simple example of starting OpenProject via compose, as a single image.

That missing file is below. Replace the left hand side of volumes with your own paths, adjust OPENPROJECT_HOST__NAME and enter an actual SECRET_KEY_BASE value from openssl rand -hex 64.

services: 
 openproject: 
   image: openproject/openproject:17 
   container_name: openproject 
   environment: 
     - OPENPROJECT_HOST__NAME=... 
     - SECRET_KEY_BASE=... 
   ports: 
     - 8080:80 
   volumes: 
     - .../openproject/pgdata:/var/openproject/pgdata 
     - .../openproject/assets:/var/openproject/assets 
   restart: unless-stopped

 

Sections