Files
wmair 5cc781b57e Simplify compose file structure: Use docker-compose.yml as default
Changes:
- Renamed docker-compose.production.yml → docker-compose.yml (main config)
- Moved unused compose files to compose-variants/ folder:
  - docker-compose.local.yml → compose-variants/
  - docker-compose.authelia.yml → compose-variants/
  - docker-compose.caddy.yml → compose-variants/
  - docker-compose.yml (old) → compose-variants/docker-compose.old.yml
- Added compose-variants/README.md explaining the variants

Benefits:
- Default command now works: docker compose up -d (no -f flag needed)
- Cleaner project root directory
- Clear separation between active config and variants
- Multi-machine deployment is the default mode

Updated Documentation:
- MULTI_MACHINE_CONFIG_SNIPPETS.md: Removed -f flags from all commands
- README.md: Updated deploy commands to use simplified syntax
- All commands now use: docker compose up -d

Deployment Modes (from docker-compose.yml):
1. Multi-machine (default):
   docker compose up -d
   → Starts: Synapse, MAS, Element, PostgreSQL only

2. Single-machine with Authelia:
   docker compose --profile single-machine --profile authelia up -d
   → Starts everything including Caddy and Authelia

3. Single-machine without Authelia:
   docker compose --profile single-machine up -d
   → Starts everything with Caddy, no Authelia

This makes the default behavior match the multi-machine architecture
where Caddy and Authelia run on separate servers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 19:05:03 +01:00

834 B

Compose File Variants

This folder contains alternative Docker Compose configurations that are not used in the main deployment.

Files

  • docker-compose.old.yml - Original compose configuration (legacy)
  • docker-compose.local.yml - Local testing configuration with self-signed certificates
  • docker-compose.authelia.yml - Standalone Authelia service
  • docker-compose.caddy.yml - Standalone Caddy service

Active Configuration

The active configuration is in the root directory as docker-compose.yml (production configuration).

Usage

These variants can be used for:

  • Local development and testing (docker-compose.local.yml)
  • Reference for different deployment architectures
  • Standalone service testing

To use a variant:

docker compose -f compose-variants/docker-compose.local.yml up -d