Skip to content

contains traefik config and submodules for docker compose based deployments

Notifications You must be signed in to change notification settings

cybaxx/web-services-cybaxx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

production-manifests

contains traefik config and submodules for docker compose based deployments

This branch of the repo is for the 2023 new prod server deployment,
however it also contains the traefik configuration for the staging deployments
of wiki and fourms. These are attached to the same traefik-backend network.

How do I get started?

# install docker and docker-compose-plugin
# https://docs.docker.com/engine/install/debian/

# create traefik backend network
docker network create traefik-backend

# clone the repo (recursively)
cd /opt

export REPO_DIR="$(cd "/opt" || exit 1; pwd)/production-manifests"

git clone \
  --branch prod-2023 \
  --single-branch \
  --recursive \
  --recurse-submodules \
  https://github.com/wetfish/production-manifests.git \
  $REPO_DIR

# fix various permissions
cd $REPO_DIR && bash ./fix-subproject-permissions.sh

# recommended: start just traefik, give it a minute to acquire certs (or error out)
cd traefik && docker compose up -d

# start all the stacks at once
cd $REPO_DIR && bash ./all-services.sh up

Where is persistent data stored?

# blog: posts
services/blog/config.js

# danger: database
services/danger/db

# wetfishonline: database, fish/equpipment
services/online/db
services/online/storage

# wiki: database, user uploads
services/wiki/db
services/wiki/upload # mounted over nfs to storage server

About

contains traefik config and submodules for docker compose based deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%