Skip to content

Commit b559098

Browse files
committed
Add pghero instance
1 parent 6bbb9ea commit b559098

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

apps/pghero/fly.toml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# fly.toml app configuration file generated for teerankio-pghero on 2025-01-01T20:44:55+01:00
2+
#
3+
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4+
#
5+
6+
app = 'teerankio-pghero'
7+
primary_region = 'cdg'
8+
9+
[build]
10+
image = 'ankane/pghero'
11+
12+
[http_service]
13+
internal_port = 8080
14+
force_https = true
15+
auto_stop_machines = 'stop'
16+
auto_start_machines = true
17+
min_machines_running = 0
18+
processes = ['app']
19+
20+
[[vm]]
21+
size = 'shared-cpu-1x'

docker-compose.yml

+9
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,12 @@ services:
4040
BULL_PREFIX: bull
4141
depends_on:
4242
- redis
43+
44+
pghero:
45+
image: ankane/pghero
46+
ports:
47+
- "8080:8080"
48+
environment:
49+
DATABASE_URL: postgres://postgres:postgres@postgres:5432/teerank
50+
depends_on:
51+
- postgres

0 commit comments

Comments
 (0)