Skip to content

hisptz/openfn-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenFn Docker Setup

Introduction

This repo contains a production setup of the openFn tool'

Prerequisites

You need to have latest docker installed

Setting up

Clone this repository

git clone https://github.com/hisptz/openfn-docker

Then, create an env file, copy the existing file for simplicity

cp .env.example .env

Then change all the variables in the .env file. Make sure the keys are generated well. Ensure the SECRET_KEY is more than 64 characters long

Migrations

You need to migrate and seed the database. To do this run

docker compose run web /app/bin/migrate

Running

To run the app run

 docker compose up -d 

Your app should be available at the port you configured in the .env file (http://localhost:4000 if you use the default port).

Upgrading

To upgrade any of the images simply run

docker compose up -d --pull always

Ensure you read the release notes to abide to any other changes you have to do.

About

Docker configuration for OpenFn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published