This repository contains the Docker setup for LeaderOS, including services for Caddy, Nginx, PHP, MariaDB, and phpMyAdmin.
- Docker
- Docker Compose
https://docs.leaderos.net/installation/docker
- caddy: Reverse proxy and web server, accessible on ports 80 and 443.
- nginx: Web server, accessible on port 8080.
- php: PHP-FPM service.
- mariadb: Database server, accessible on port 3306.
- phpmyadmin: Database management tool, accessible on port 8888.
DOMAIN: The domain name for the services.SQL_USER: The MariaDB user.SQL_PASSWORD: The MariaDB password.SQL_DATABASE: The MariaDB database name.
docker compose --env-file .env up -d --buildTo stop the containers, run:
docker compose downTo restart the Caddy server, run:
docker restart caddy