Another fix, good commit messages here

This commit is contained in:
Benjamin Sherriff
2024-05-04 14:05:38 -04:00
parent 345dc105df
commit be39122320
3 changed files with 9 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
RUST_LOG=warn,service=debug RUST_LOG=warn,service=debug
DATABASE_USER=siren DATABASE_USER=siren
DATABASE_PASSWORD= # FILL ME IN DATABASE_PASSWORD=CHANGEME # Change this to a secure password
DATABASE_NAME=siren DATABASE_NAME=siren
DATABASE_HOST=localhost DATABASE_HOST=localhost
DATABASE_PORT=5432 DATABASE_PORT=5432
@@ -10,7 +10,7 @@ KEYS_DIR_PATH= # OPTIONAL
SESSION_TTL=1440 SESSION_TTL=1440
MINIO_ROOT_USER=siren MINIO_ROOT_USER=siren
MINIO_ROOT_PASSWORD= # FILL ME IN MINIO_ROOT_PASSWORD=CHANGEME # Change this to a secure password
MINIO_HOST=localhost MINIO_HOST=localhost
MINIO_PORT=9000 MINIO_PORT=9000
MINIO_PORT_INTERNAL=9001 MINIO_PORT_INTERNAL=9001

View File

@@ -31,10 +31,7 @@ actix-multipart = "0.6.1"
rand = "0.8.5" rand = "0.8.5"
rand_chacha = "0.3.1" rand_chacha = "0.3.1"
jsonwebtoken = "9.3.0" jsonwebtoken = "9.3.0"
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
[dependencies.tokio]
version = "1.37.0"
features = ["macros", "rt-multi-thread"]
[dependencies.serde] [dependencies.serde]
version = "1.0.197" version = "1.0.197"

View File

@@ -44,8 +44,9 @@ docker-down: ## Stop the app
docker-build: ## Build the docker image docker-build: ## Build the docker image
@docker compose build @docker compose build
docker-clean: ## Clean the app docker-clean: ## Stop the docker containers and remove volumes
@docker compose down && \ @echo "Stopping docker container and removing volumes..."
docker image rm siren-service || \ @docker-compose --profile backend --profile siren down -v
docker network rm siren_frontend || \ @echo "Docker container stopped and volumes removed"
docker network rm siren-backend
refresh: docker-clean up ## Refresh the docker containers