fix(puter): update URL format in setup message and add public port to configuration
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user