Skip to content

Commit

Permalink
feat: update listmonk
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Dec 11, 2023
1 parent 75542b0 commit 23e364b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions stacks/listmonk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ services:
- /bin/sh
- -c
- |
# ./listmonk --install --yes # Uncomment on first deploy
echo "$$UPGRADE"
echo "Hello world"
if [ "$$INSTALL" = "true" ]; then
./listmonk --install --yes
fi
rm config.toml
./listmonk --new-config
# ./listmonk --upgrade --yes # Uncomment to upgrade
if [ "$$UPGRADE" = "true" ]; then
./listmonk --upgrade --yes
fi
./listmonk
environment:
- LISTMONK_app__admin_username=${ADMIN_USERNAME:-admin}
Expand All @@ -24,6 +30,8 @@ services:
- POSTGRES_USER=listmonk
- POSTGRES_PASSWORD=myp@ssw0rd
- DB_HOST=postgres
- INSTALL=${INSTALL:-false}
- UPGRADE=${UPGRADE:-false}
deploy:
labels:
- traefik.enable=true
Expand Down

0 comments on commit 23e364b

Please sign in to comment.