defined compose file for deploy
This commit is contained in:
21
README.md
21
README.md
@@ -1,6 +1,5 @@
|
||||
# ToDo
|
||||
* year pagination
|
||||
* build & deploy via docker
|
||||
|
||||
# Authentication
|
||||
Authentication consists of the following parts:
|
||||
@@ -16,4 +15,22 @@ Source:
|
||||
# Multi-User Support
|
||||
Each location record is marked with a user ID.
|
||||
|
||||
All the actions user `withUser` to fetch user ID, which is then used in all the DB operations.
|
||||
All the actions user `withUser` to fetch user ID, which is then used in all the DB operations.
|
||||
|
||||
# Deploying
|
||||
The deployment is done via Docker:
|
||||
* build docker image
|
||||
* deploy Docker service
|
||||
|
||||
## Building Docker image
|
||||
Run the following command:
|
||||
```bash
|
||||
docker build . -t utility-bills-tracker:1.2.0
|
||||
```
|
||||
The image will be stored in the local Docker instance.
|
||||
|
||||
## Deploying Docker service
|
||||
Run the following command:
|
||||
```bash
|
||||
docker stack deploy -c docker-compose-deploy.yml utility-bills-tracker:1.2.0
|
||||
```
|
||||
Reference in New Issue
Block a user