Commit Graph

8 Commits

Author SHA1 Message Date
Chad Metcalf
5185cedf4e
Fixing Mac vs Linux bash shell'ism.
Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:27:04 -07:00
Chad Metcalf
702ec96821
Adding a Makefile and basic tests.
This approach uses bats to create a generic docker-compose test. It
checks that images are pullable, projects are buildable, up works, and
if ports are exposed that something is listening.

The tests can be tailored for each example. As long as they are the same
though, you can edit lib/test.bats.example and then `make update-tests`
and all the tests will be synced.

Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:26:52 -07:00
Anca Iordache
77c6920a83 Fix default port mapping and indentation
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-24 00:44:49 +01:00
Anca
6c8754131d Improved flask backend 2020-03-20 01:51:26 +01:00
Anca Iordache
aed528ccf7 Set different networks for db-backend and backend-proxy
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-19 22:37:57 +01:00
Anca Iordache
a7e0f380f6
update mysql version and query output 2020-03-17 22:03:44 +01:00
Anca Iordache
92a9311d8a connect backend to db in nginx-flask-mysql
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-17 21:55:32 +01:00
Anca Iordache
f1e4cca535 Move all samples to the root dir
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-16 17:23:59 +01:00