Skip to content

Commit

Permalink
Add docker-compose.yml example (#1877)
Browse files Browse the repository at this point in the history
  • Loading branch information
biow0lf authored Dec 30, 2024
1 parent bbeb96f commit b6439e0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,13 @@ Service container for running [pghero](https://github.com/ankane/pghero).
## Example `docker-compose.yml`

```yaml
# TODO: write
services:
pghero:
image: "docker.io/biow0lf/evemonk-pghero:main"
container_name: "evemonk_pghero"
restart: "unless-stopped"
environment:
SECRET_KEY_BASE: "secret-key-base" # run `rails secret` for generate new
DATABASE_URL: "postgres://user:password@localhost/database"
RAILS_MAX_THREADS: "1"
```

0 comments on commit b6439e0

Please sign in to comment.