Update dockerfile and config
This commit is contained in:
@@ -19,7 +19,7 @@ server:
|
||||
# Port on which the server will listen. the server binding is 0.0.0.0:{PORT}
|
||||
port: 5150
|
||||
# The UI hostname or IP address that mailers will point to.
|
||||
host: http://localhost
|
||||
host: {{ get_env(name="HOST", default="http://localhost") }}
|
||||
# Out of the box middleware configuration. to disable middleware you can changed the `enable` field to `false` of comment the middleware block
|
||||
middlewares:
|
||||
# #############################################
|
||||
@@ -137,7 +137,7 @@ auth:
|
||||
# JWT authentication
|
||||
jwt:
|
||||
# Secret key for token generation and verification
|
||||
secret: PqRwLF2rhHe8J22oBeHy
|
||||
secret: {{ get_env(name="JWT_SECRET", default="PqRwLF2rhHe8J22oBeHy") }}
|
||||
# Token expiration time in seconds
|
||||
expiration: 604800 # 7 days
|
||||
location:
|
||||
|
@@ -15,4 +15,4 @@ COPY --from=builder /usr/src/assets/static/404.html /usr/app/assets/static/404.h
|
||||
COPY --from=builder /usr/src/config /usr/app/config
|
||||
COPY --from=builder /usr/src/target/release/gabrielkaszewski_rs-cli /usr/app/gabrielkaszewski_rs-cli
|
||||
|
||||
ENTRYPOINT ["/usr/app/gabrielkaszewski_rs-cli"]
|
||||
ENTRYPOINT ["/usr/app/gabrielkaszewski_rs-cli", "start"]
|
Reference in New Issue
Block a user