Skip to content

ben-pearce/sparks-server-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Development Server Deployment

This repository contains my Docker Compose files and configuration files for services hosted on my development workstation/server. The goal is to create a remote development environment accessible via a thin client from anywhere, leveraging additional computing power and eliminating the need to maintain multiple instances of my environments.

Containers

Name Description Ports Links
traefik 0.0.0.0:80:80, 0.0.0.0:443:443
authentik-proxy
code-server VS Code in the browser GitHub
nginx-proxy-manager Expose your services easily and securely
portainer-agent Portainer edge agent. GitHub
zabbix-agent Zabbix agent for monitoring. Docker Hub
syncthing Free and open source peer-to-peer file synchronization 0.0.0.0:21027:21027/udp, 0.0.0.0:22000:22000/tcp, 0.0.0.0:22000:22000/udp Website

Prerequisites

A linux-based operating system with docker installed.

Configuration

The .env file stores environment variables to make starting the containers easy. This should be modified to match your needs before starting the containers for the first time.

Variable Description Example
HOST The main host for web-based services. sparks
NPM_HOST_PATTERN Regex pattern to match dev environment hosts. "^[a-z0-9-]+\.dev\.sparks$"
SMTP_HOST SMTP mail server host. mail.example.com
SMTP_USER SMTP username. [email protected]
TZ Timezone for all containers. Europe/London
PUID System user ID to run containers as. 1000
PGID System group ID to run containers as. 1000
CONFIG_DIR Location of config storage on host. config
DATA_DIR Location of data storage on host. data
ADMIN_EMAIL Administrative email address. [email protected]
AUTHENTIK_HOST Remote Authentik host. authentik.example.com
HOST_IP IP Address of the host. 172.0.0.1
NFS_HOST Host of NFS shares. nfs.example.com
ZBX_HOSTNAME Zabbix server hostname. zabbix-server
ZBX_SERVER_HOST Zabbix monitoring server host. zabbix.example.com
ZBX_REFRESHACTIVECHECKS Zabbix active check interval. 60

Contributions

First of all, thanks for your interest! But due to this being a personal project of mine tailored to my own needs, I cannot accept pull requests on this repository. Please feel free to fork and tweak this project though.

About

🤖 Docker container stack for my dev server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •