Skip to content

Commit

Permalink
fix environmental variables presence
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed Jul 8, 2024
1 parent 5d35549 commit 7eda440
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#

APP_NAME=litter-go
APP_VERSION=0.35.3
APP_VERSION=0.35.4
GOLANG_VERSION=1.22
7 changes: 7 additions & 0 deletions deployments/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,15 @@ services:
- "traefik.docker.network=${DOCKER_NETWORK_NAME}"
environment:
API_TOKEN: ${API_TOKEN}
APP_ENVIRONMENT: ${APP_ENVIRONMENT}
APP_PEPPER: ${APP_PEPPER}
MAIL_HOST: ${MAIL_HOST}
MAIL_PORT: ${MAIL_PORT}
MAIL_SASL_USR: ${MAIL_SASL_USR}
MAIL_SASL_PWD: ${MAIL_SASL_PWD}
REGISTRATION_ENABLED: ${REGISTRATION_ENABLED}
VAPID_PUB_KEY: ${VAPID_PUB_KEY}
VAPID_PRIV_KEY: ${VAPID_PRIV_KEY}
healthcheck:
#test: ["CMD", "/opt/periodic-dump.sh"]
test: ["CMD", "wget", "--header", "X-Dump-Token: ${API_TOKEN}", "localhost:${DOCKER_INTERNAL_PORT}/api/v1/dump/", "-O", "-", "-S" ]
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/router.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @title litter-go
// @version 0.35.3
// @version 0.35.4
// @description nanoblogging platform as PWA built on go-app framework
// @termsOfService https://littr.n0p.cz/tos

Expand Down

0 comments on commit 7eda440

Please sign in to comment.