Skip to content
Snippets Groups Projects
Name Last commit Last update
template
traefik
README.md
copier.yml

DBnomics docker template

This project defines a template for the deployment of a DBnomics instance using a Docker Compose container stack.

It can be used to deploy a development instance or a staging instance.

Install

This template uses copier.

First install it with pipx as described by its documentation:

pipx install copier

Usage

Create a new DBnomics instance

To initialize the source code of a new fetcher using this template, follow those steps.

copier copy --UNSAFE https://git.nomics.world/dbnomics/dbnomics-docker.git my-instance
# [...] Answer the questions
cd my-instance

Commit files.

Update an existing fetcher

To avoid losing your work, please ensure that everything is committed before continuing.

To apply a new version of this template to the source code of an existing fetcher using an older version of this template, follow those steps.

cd my-instance
copier update --UNSAFE
# [...] Answer the questions

Resolve conflicts, examine then commit changes.