Commit Graph

2 Commits

Author SHA1 Message Date
ca25328ef4 Creating compose.yaml
This Docker Compose file defines a multi-service application stack, including:

Caddy: A web server and reverse proxy
Ghost: A blogging platform
Gitea: A self-hosted Git service
MySQL: A database for Ghost
Varnish: A caching HTTP reverse proxy

Key features:

Uses YAML anchors for reusable logging and healthcheck configurations
Defines two networks: "web" (external) and "internal" (bridge)
Specifies volume mounts for persistent data storage
Implements healthchecks for all services
Uses secrets for sensitive information (MySQL password)
Sets up dependencies between services

Services overview:

Caddy: Handles incoming HTTP/HTTPS traffic
Ghost: Main blogging application, configured to use MySQL
Gitea: Git repository hosting service
MySQL: Database backend for Ghost
Varnish: Caching layer, likely sitting in front of Ghost

The configuration also defines volumes for MySQL, Ghost, and Gitea data, and uses a secret for the Ghost MySQL password.
2024-08-29 13:52:31 +00:00
6021865cfc Add compose.yaml 2024-08-29 13:49:53 +00:00