Skip to content

Commit

Permalink
Add pghero instance
Browse files Browse the repository at this point in the history
  • Loading branch information
needs committed Jan 1, 2025
1 parent 6bbb9ea commit b559098
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
21 changes: 21 additions & 0 deletions apps/pghero/fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# fly.toml app configuration file generated for teerankio-pghero on 2025-01-01T20:44:55+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'teerankio-pghero'
primary_region = 'cdg'

[build]
image = 'ankane/pghero'

[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[vm]]
size = 'shared-cpu-1x'
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,12 @@ services:
BULL_PREFIX: bull
depends_on:
- redis

pghero:
image: ankane/pghero
ports:
- "8080:8080"
environment:
DATABASE_URL: postgres://postgres:postgres@postgres:5432/teerank
depends_on:
- postgres

0 comments on commit b559098

Please sign in to comment.