-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
358a37e
commit efc1e4a
Showing
3 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
app = 'districtr-v2-pr-frontend' | ||
primary_region = 'ewr' | ||
|
||
[build] | ||
|
||
[http_service] | ||
internal_port = 3000 | ||
force_https = true | ||
auto_stop_machines = true | ||
auto_start_machines = true | ||
min_machines_running = 0 | ||
processes = ['app'] | ||
|
||
[[vm]] | ||
memory = '1gb' | ||
cpu_kind = 'shared' | ||
cpus = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
app = 'districtr-v2-pr-api' | ||
primary_region = 'ewr' | ||
|
||
[env] | ||
BACKEND_CORS_ORIGINS = 'http://localhost:3000' | ||
DOMAIN = 'http://localhost' | ||
ENVIRONMENT = 'production' | ||
PROJECT_NAME = 'Districtr v2 backend – PR test app' | ||
R2_BUCKET_NAME = 'districtr-v2-dev' | ||
VOLUME_PATH = '/data' | ||
|
||
[[mounts]] | ||
source = 'gerrydb_views' | ||
destination = '/data' | ||
initial_size = '10gb' | ||
processes = ['app'] | ||
|
||
[http_service] | ||
internal_port = 8080 | ||
force_https = true | ||
auto_stop_machines = true | ||
auto_start_machines = true | ||
min_machines_running = 0 | ||
processes = ['app'] | ||
|
||
[[vm]] | ||
memory = '1gb' | ||
cpu_kind = 'shared' | ||
cpus = 1 | ||
|
||
[deploy] | ||
release_command = "alembic upgrade head" |