fix(puter): update URL format in setup message and add public port to configuration

This commit is contained in:
MickLesk
2026-05-18 15:00:42 +02:00
parent 5ef713e58c
commit d762e6485a
3 changed files with 3 additions and 2 deletions

View File

@@ -57,4 +57,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}.nip.io:4100${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://puter.${IP}.nip.io:4100${CL}"

View File

@@ -42,6 +42,7 @@ cat <<EOF >/etc/puter/config.json
"domain": "${LOCAL_IP}.nip.io",
"protocol": "http",
"port": 4100,
"pub_port": 4100,
"allow_nipio_domains": true,
"database": {
"engine": "sqlite",

View File

@@ -62,7 +62,7 @@ chmod 644 /opt/slink/services/api/config/jwt/private.pem
touch /opt/slink/services/api/var/data/slink_store.db
touch /opt/slink/services/api/var/data/slink.db
$STD php bin/console doctrine:migrations:migrate --no-interaction --em=read_model
$STD php bin/console doctrine:schema:update --force --em=event_store
$STD php bin/console doctrine:migrations:migrate --no-interaction --em=event_store
$STD php bin/console messenger:setup-transports --no-interaction
$STD php bin/console slink:admin:init --no-interaction
$STD php bin/console cache:warm --no-optional-warmers