Modified docker run script
This commit is contained in:
3
microservices/weather/.gitignore
vendored
3
microservices/weather/.gitignore
vendored
@@ -17,3 +17,6 @@ Cargo.lock
|
||||
Settings.toml
|
||||
|
||||
.env
|
||||
|
||||
# Log files
|
||||
logs.*.txt
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
file=logs.$(date "+%F").txt
|
||||
|
||||
docker run --env RUST_LOG=info --env-file ./.env registry.willemserruys.com/weather-microservice:latest &> logs.txt
|
||||
docker run --env RUST_LOG=info --env-file ./.env registry.willemserruys.com/weather-microservice:latest &> $file
|
||||
|
||||
Reference in New Issue
Block a user