diff --git a/README.md b/README.md index 4c806d6..6a9d8fd 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,6 @@ and [Shipyard](https://shipyard.build) out of the box. - Run `make develop` at the root of this project. - Visit the app at http://localhost:3000. - Visit http://localhost:8080/api/v1/files to list objects in LocalStack s3 bucket. -- Make your code changes! The app will reload whenever you save. \ No newline at end of file +- Make your code changes! The app will reload whenever you save. + +Have fun! diff --git a/docker-compose.yml b/docker-compose.yml index c284c6b..826c9ec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,6 +34,9 @@ services: labels: shipyard.init: 'npx sequelize-cli db:migrate' shipyard.route: '/api' + shipyard.host.backend_alt: '{ "prefix": "foo" }' + shipyard.host.backend_alt2: '{ "prefix": "bar", "route": "/api-v1" }' + shipyard.host.backend_alt3: '{ "prefix": "baz", "route": "/api-v2", "port": 8081 }' build: context: 'backend' environment: @@ -47,6 +50,7 @@ services: - 'postgres' ports: - '8080:8080' + - '8081:8081' volumes: - './backend/src:/app/src' @@ -62,3 +66,4 @@ services: volumes: postgres: localstack: +