Docker Compose
Setting up a Storyden container with Docker Compose
This guide will get you set up with a Storyden instance behind Caddy. There are various additional optional dependencies for Storyden which are covered later, but for now we'll start simple with SQLite.
Prerequisites:
- A Linux server
- Docker and Docker Compose installed
- A domain name pointing at your server.
We'll use the domain
secret-agent.club
for the docs.With Caddy
This configuration will set up a simple Storyden instance that's production-ready and uses Caddy as a reverse proxy.
First, create docker-compose.yml
Then configure Caddyfile
to use your domain name and reverse-proxy to the storyden
container.
Run the stack and once Caddy has set up your SSL certificate, visit your new Storyden site in your browser!