Autobase stack running with Caddy as reverse proxy. The stack includes:
- Caddy reverse proxy with automatic HTTPS
- Console API
- Console UI
- PostgreSQL database
- Setup environment:
cp .env.example .env
- Configure your
.env
:
DOMAIN=your-domain.com # Set your domain
[email protected] # Required for Caddy SSL
AUTH_TOKEN=your-token # Your authorization token
- Run the stack:
docker compose up -d
- Caddy will automatically handle SSL certificates for your domain
- Data is persisted in Docker volumes:
console_postgres
andcaddy_data
- The Caddy network is created automatically by Docker Compose
- All services are configured to restart automatically unless stopped manually.
- Additional environment variables can be configured based on your project needs
- Using the
latest
versions is great for testing. For production installations, specify release versions in the docker-compose.yml file.