You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#50
* Add golang to the builder build stage
* Add a simple handlebars template renderer app; compile it in the build stage and transfer over to the main image
* Rebuild the bootstrap.sh script to use a simple HBS renderer built in Golang
* Replace all use of xmlstarlet with handlebars
* Add an optional PG database to the docker-compose.yml file
Copy file name to clipboardexpand all lines: README.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ When done using this web server, you can use the shell-standard `^C` to exit out
72
72
73
73
### Inspecting the database
74
74
75
-
The MySQL database Docker Compose service should remain up after a call of `docker compose up oba_app`. Otherwise, you can always invoke it using `docker compose up oba_database`.
75
+
The Docker Compose database service should remain up after a call of `docker compose up oba_app`. Otherwise, you can always invoke it using `docker compose up oba_database`.
76
76
77
77
A database port is open to your host machine, so you can connect to it programmatically using `mysql`:
78
78
@@ -92,9 +92,10 @@ You can find the latest published Docker images on Docker Hub:
92
92
### Deployment Parameters
93
93
94
94
* Database
95
-
*`JDBC_URL` - The JDBC connection URL for your MySQL database.
96
-
*`JDBC_USER` - The username for your MySQL database.
97
-
*`JDBC_PASSWORD` - The password for your MySQL database.
95
+
*`JDBC_URL` - The JDBC connection URL for your MySQL or PostgreSQL database.
96
+
*`JDBC_DRIVER` - The JDBC driver class name: `com.mysql.cj.jdbc.Driver` or `org.postgresql.Driver`
97
+
*`JDBC_USER` - The username for your database.
98
+
*`JDBC_PASSWORD` - The password for your database.
98
99
* GTFS (Optional, required only when using `oba_app` independently)
99
100
*`GTFS_URL` - The URL to the GTFS feed you want to use.
0 commit comments