diff --git a/README.md b/README.md index 5220917..a12a016 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,22 @@ flowchart TD LB -.->|metrics| MT(Grafana Cloud) ``` +## Local Deployment (Docker) + +You can run the application locally using Docker Compose. + +Navigate to the `dev-resources/local_deploy` directory and run the following command: + +```shell +docker compose up -d migratus +``` + +After the database is created, run the following command: + +```shell +docker compose up -d rango +``` + ## License Copyright © 2024 Bruno do Nascimento Maciel diff --git a/dev-resources/local_deploy/docker-compose.yml b/dev-resources/local_deploy/docker-compose.yml index c16a128..240ebb0 100644 --- a/dev-resources/local_deploy/docker-compose.yml +++ b/dev-resources/local_deploy/docker-compose.yml @@ -1,16 +1,12 @@ services: migratus: - image: ghcr.io/macielti/rango-graalvm:sha-8975afe + image: ghcr.io/macielti/migratus-container:sha-35cd3d9 container_name: migratus volumes: - ./resources/migratus.config.edn:/app/resources/migratus.config.edn - ./resources/migrations:/app/resources/migrations - rango_sqlite_data:/app/data/ - deploy: - resources: - limits: - memory: "25MB" rango: image: ghcr.io/macielti/rango-graalvm:sha-8975afe