Skip to content

sshaddicts/node-ts-app-template

Repository files navigation

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 :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published