-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #225 from ibi-group/deploy-to-ec2
Deploy OTP to AWS load balancer and manage OTP servers in separate collection (and misc other fixes)
- Loading branch information
Showing
38 changed files
with
1,883 additions
and
1,087 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 |
---|---|---|
@@ -1,61 +1,44 @@ | ||
application: | ||
title: Data Tools | ||
logo: https://d2tyb7byn1fef9.cloudfront.net/ibi_group-128x128.png | ||
logo_large: https://d2tyb7byn1fef9.cloudfront.net/ibi_group_black-512x512.png | ||
client_assets_url: https://example.com | ||
shortcut_icon_url: https://d2tyb7byn1fef9.cloudfront.net/ibi-logo-original%402x.png | ||
public_url: http://localhost:9966 | ||
notifications_enabled: true | ||
cors: | ||
enabled: true | ||
origins: https://google.com | ||
methods: | ||
headers: | ||
notifications_enabled: false | ||
docs_url: http://conveyal-data-tools.readthedocs.org | ||
support_email: [email protected] | ||
port: 4000 | ||
data: | ||
editor_mapdb: /tmp/editor/mapdb | ||
mapdb: /tmp/mapdb | ||
gtfs: /tmp | ||
use_s3_storage: false | ||
s3_region: us-east-1 | ||
gtfs_s3_bucket: bucket-name | ||
modules: | ||
dump: | ||
enabled: true | ||
enterprise: | ||
enabled: false | ||
deployment: | ||
enabled: true | ||
editor: | ||
enabled: true | ||
url: http://localhost:9001 | ||
alerts: | ||
enabled: true | ||
use_extension: mtc | ||
url: /alerts | ||
sign_config: | ||
deployment: | ||
enabled: true | ||
use_extension: mtc | ||
url: /signs # eventually remove this | ||
ec2: | ||
enabled: false | ||
default_ami: ami-your-ami-id | ||
# Note: using a cloudfront URL for these download URLs will greatly | ||
# increase download/deploy speed. | ||
otp_download_url: https://optional-otp-repo.com | ||
r5_download_url: https://optional-r5-repo.com | ||
user_admin: | ||
enabled: true | ||
# Enable GTFS+ module for testing purposes | ||
gtfsplus: | ||
enabled: true | ||
gtfsapi: | ||
enabled: true | ||
load_on_fetch: false | ||
# use_extension: mtc | ||
# update_frequency: 30 # in seconds | ||
|
||
extensions: | ||
mtc: | ||
enabled: true | ||
rtd_api: http://localhost:9876/ | ||
s3_bucket: bucket-name | ||
s3_prefix: waiting/ | ||
s3_download_prefix: waiting/ | ||
transitland: | ||
enabled: true | ||
api: https://transit.land/api/v1/feeds | ||
transitfeeds: | ||
enabled: true | ||
api: http://api.transitfeeds.com/v1/getFeeds | ||
key: your-api-key |
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,19 @@ | ||
# This client ID refers to the UI client in Auth0. | ||
AUTH0_CLIENT_ID: your-auth0-client-id | ||
AUTH0_DOMAIN: your-auth0-domain | ||
# Note: One of AUTH0_SECRET or AUTH0_PUBLIC_KEY should be used depending on the signing algorithm set on the client. | ||
# It seems that newer Auth0 accounts (2017 and later) might default to RS256 (public key). | ||
AUTH0_SECRET: your-auth0-secret # uses HS256 signing algorithm | ||
# AUTH0_PUBLIC_KEY: /path/to/auth0.pem # uses RS256 signing algorithm | ||
# This client/secret pair refer to a machine-to-machine Auth0 application used to access the Management API. | ||
AUTH0_API_CLIENT: your-api-client-id | ||
AUTH0_API_SECRET: your-api-secret-id | ||
DISABLE_AUTH: false | ||
OSM_VEX: http://localhost:1000 | ||
SPARKPOST_KEY: your-sparkpost-key | ||
SPARKPOST_EMAIL: [email protected] | ||
GTFS_DATABASE_URL: jdbc:postgresql://localhost/catalogue | ||
# GTFS_DATABASE_USER: | ||
# GTFS_DATABASE_PASSWORD: | ||
#MONGO_URI: mongodb://mongo-host:27017 | ||
MONGO_DB_NAME: catalogue |
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,50 @@ | ||
application: | ||
title: Data Tools | ||
logo: https://d2tyb7byn1fef9.cloudfront.net/ibi_group-128x128.png | ||
logo_large: https://d2tyb7byn1fef9.cloudfront.net/ibi_group_black-512x512.png | ||
client_assets_url: https://example.com | ||
shortcut_icon_url: https://d2tyb7byn1fef9.cloudfront.net/ibi-logo-original%402x.png | ||
public_url: http://localhost:9966 | ||
notifications_enabled: false | ||
docs_url: http://conveyal-data-tools.readthedocs.org | ||
support_email: [email protected] | ||
port: 4000 | ||
data: | ||
gtfs: /tmp | ||
use_s3_storage: false | ||
s3_region: us-east-1 | ||
gtfs_s3_bucket: bucket-name | ||
modules: | ||
enterprise: | ||
enabled: false | ||
editor: | ||
enabled: true | ||
deployment: | ||
enabled: true | ||
ec2: | ||
enabled: false | ||
default_ami: ami-your-ami-id | ||
user_admin: | ||
enabled: true | ||
# Enable GTFS+ module for testing purposes | ||
gtfsplus: | ||
enabled: true | ||
gtfsapi: | ||
enabled: true | ||
load_on_fetch: false | ||
# use_extension: mtc | ||
# update_frequency: 30 # in seconds | ||
extensions: | ||
# Enable MTC extension so MTC-specific feed merge tests | ||
mtc: | ||
enabled: true | ||
rtd_api: http://localhost:9876/ | ||
s3_bucket: bucket-name | ||
s3_prefix: waiting/ | ||
s3_download_prefix: waiting/ | ||
transitland: | ||
enabled: true | ||
api: https://transit.land/api/v1/feeds | ||
transitfeeds: | ||
enabled: true | ||
api: http://api.transitfeeds.com/v1/getFeeds |
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
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
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
94 changes: 0 additions & 94 deletions
94
src/main/java/com/conveyal/datatools/editor/jobs/ProcessGtfsSnapshotExport.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.