This is a basic docker-compose
reference for spinning up a Nextcloud, poste.io, and Bitwarden_rs instance efficiently. It uses Caddy, Sqlite and Redis for simplicity and speed. I did things this way because I wanted to eliminate Nginx and Apache completely. This was to reduce overhead and to gain the simplicity of Caddy's configs and automatic SSL. It has been working well for me for about a year now.
- Install docker and docker-compose on your host
- Set up your DNS
- Change the configs to your liking
- Copy
Caddyfile
andzzz-custom.ini
files to their respective locations as referenced bydocker-compose.yml
- Download Gosu from https://github.com/tianon/gosu, make it executable, and copy it into the location referenced in
docker-compose.yml
- Run
docker-compose up -d
- Configure your Nextcloud to use Sqlite and Redis via its UI
- ???
- Profit
is awesome!!! but can i use caddy v2?