Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Latest commit

 

History

History
29 lines (23 loc) · 1020 Bytes

File metadata and controls

29 lines (23 loc) · 1020 Bytes

Template App

Example docker-compose.yaml file:

Requirements

  1. Docker
  2. Docker Compose
  3. Github Token with read:packages access.

Deployment steps

  1. Login to GitHub containers repository:
echo "GITHUB_TOKEN" | docker login ghcr.io -u GITHUB_USERNAME --password-stdin
  1. Pull the docker image and prepare files (replace tempalte with a real values)
docker pull ghcr.io/template/template:master
docker run --rm --entrypoint cat ghcr.io/template/template:master /app/config.json.dist > config.json
docker run --rm --entrypoint cat ghcr.io/template/template:master /app/docker-compose.prod.yaml > docker-compose.yaml
  1. Open config.json witn an file editor and set up all required data
  2. Run the bot
DB_PASSWORD=YOUR_PASSWORD docker-compose up -d  

Or feel free to configure docker-compose.yaml yourself, according to your desires :)