zero-to-production/chapter05
Luca Palmieri 918af7a6c4
Fix Dockerfile (#14)
* Add chapter 5

* Basic deployment stuff

* Fix Dockerfile.

* Add an explicit connection timeout.

* Align port with configuration.

* Use debug for faster feedback loops.

* Add address configuration.

* Provision database.

* Use structured options.

* Add configuration

* Fix typo.

* Customise deserialization logic.

* Change to Require.

* Fix spec.

* Add a few more things to the dockerignore file.

* Update to match chapter.

* Add base configuration.

* Amend configuratiohn.

* Cache the copied files.

* Explicitly set the SQLX OFFLINE variable.

* Fix Dockerfile.

Co-authored-by: LukeMathWalker <rust@lpalmieri.com>
2020-11-01 23:27:34 +00:00
..
configuration Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
migrations Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
scripts Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
src Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
tests Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
.dockerignore Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
.env Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
Cargo.toml Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
Dockerfile Fix Dockerfile (#14) 2020-11-01 23:27:34 +00:00
spec.yaml Chapter 5 (#13) 2020-11-01 21:25:11 +00:00
sqlx-data.json Chapter 5 (#13) 2020-11-01 21:25:11 +00:00