An elegant message board software, for a more civilized age.
- docker
- docker-compose
Create .env file in project root with next variable, currently config suppots next variables (defauls):
HASURA_SECRET=SUPER_HASURA_SECRET
DOCKERFILE=Dockerfile
MINIO_ACCESS_KEY=MINIO_ACCESS_KEY
MINIO_SECRET_KEY=MINIO_SECRET_KEY
MINIO_BUCKET=MINIO_BUCKETTo run service in development mode, just add next line to the .env:
DOCKERFILE=Dockerfile.devAfter that you be able to hot reload lambdas on code change.
In general, you just need to set docker-compose on stack.yml file.
You can perform all docker-compose flows as usual.
For instance, to just launch containers perform:
docker-compose -f stack.yml upIn case you building prod version and api services have got changed, you proabably need to
additionally force docker-compose to rebuild images:
docker-compose -f stack.yml build