Deploy to DigitalOcean App Platform
DigitalOcean App Platform deploys containers from a Git repo or Docker image with managed infrastructure. Make sure you have the doctl CLI installed and authenticated.
Create an app spec file with a managed Redis database:
# app.yaml
name: gothic-app
services:
- name: app
dockerfile_path: Dockerfile
github:
repo: your-org/your-repo
branch: main
envs:
- key: REDIS_URL
value: ${redis.HOSTNAME}:${redis.PORT}
databases:
- name: redis
engine: REDIS
version: "7"Deploy your app with a single command:
doctl apps create --spec app.yamlDigitalOcean will automatically build your Dockerfile, provision a managed Redis instance, and inject the connection string into your app's environment variables.
Want to deploy on Fly.io, Railway, or a generic VPS?
