Skip to content

setup: add docker-compose, Dockerfile, and .env.example#8

Merged
Lewiskunta merged 1 commit into
mainfrom
setup/docker-compose
May 26, 2026
Merged

setup: add docker-compose, Dockerfile, and .env.example#8
Lewiskunta merged 1 commit into
mainfrom
setup/docker-compose

Conversation

@Lewiskunta

Copy link
Copy Markdown
Contributor

Implements - local development environment.

Files added:

  • docker-compose.yml: starts Ratify app + PostgreSQL with one command
  • docker-compose.dev.yml: development override with Air live reload
  • docker/Dockerfile: two-stage production build, final image under 50MB
  • docker/Dockerfile.dev: development image with Air for live reload
  • .air.toml: Air configuration for Go live reload
  • .env.example: environment variable template with safe local defaults
  • templates/.gitkeep: placeholder for email templates directory

After this PR, contributors can run:
cp .env.example .env
docker compose up

And get a running Ratify instance with a healthy PostgreSQL database.

@Lewiskunta Lewiskunta merged commit 356c4cd into main May 26, 2026
@Lewiskunta Lewiskunta deleted the setup/docker-compose branch May 26, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant