Skip to content

Commit

Permalink
configure: fix start and db host
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Oct 21, 2024
1 parent 3bb92d5 commit 72da1ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imageroot/actions/configure-module/20configure
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ le = request.get("lets_encrypt", False)
# Setup environment for passbolt app
config = {
"APP_FULL_BASE_URL": f"https://{host}",
"DATASOURCES_DEFAULT_HOST": "db",
"DATASOURCES_DEFAULT_HOST": "127.0.0.1",
"DATASOURCES_DEFAULT_USERNAME": "passbolt",
"DATASOURCES_DEFAULT_PASSWORD": "passbolt",
"DATASOURCES_DEFAULT_DATABASE": "passbolt"
Expand Down Expand Up @@ -56,4 +56,4 @@ response = agent.tasks.run(
)

# Check if traefik configuration has been successfull
agent.assert_exp(response['exit_code'] == 0)
agent.assert_exp(response['exit_code'] == 0)
4 changes: 4 additions & 0 deletions imageroot/actions/configure-module/80start_services
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
touch smarthost.env

systemctl --user enable --now passbolt.service
systemctl --user enable passbolt-db.service
systemctl --user enable passbolt-app.service

systemctl --user try-restart passbolt-db.service passbolt-app.service

0 comments on commit 72da1ef

Please sign in to comment.