Skip to content

Instantly share code, notes, and snippets.

@dnebing
Last active May 13, 2026 20:05
Show Gist options
  • Select an option

  • Save dnebing/b48e40bbe3398847201b505127049203 to your computer and use it in GitHub Desktop.

Select an option

Save dnebing/b48e40bbe3398847201b505127049203 to your computer and use it in GitHub Desktop.
Liferay Service Platform - Shared portal-ext.properties
#############################################################
## ##
## portal-ext.properties file ##
## ##
## Controls the basic settings and setup for Liferay. ##
## Setup this file before starting Liferay the first time. ##
## ##
#############################################################
# Pick the screen name to use for the administrator account
default.admin.screen.name=admin
# Enter an admin password. Pick something easy to remember and type,
# but not necessarily easy for people to guess or hack
default.admin.password=P@ssw0rd
# Pick the email address (everything before the @ sign) for the admin account
default.admin.email.address.prefix=admin
# Choose the name to use for your admin account. Not really used by Liferay,
# but we set it so we have reasonable values.
default.admin.first.name=Service
default.admin.last.name=Admin
# Choose a domain name to use for your web id. This also becomes the
# default email address, so choose wisely.
# Also, this cannot be changed later without dropping the whole database and starting over
company.default.web.id=example.com
# Once you have the web id, it should be easy to specify the default company name
company.default.name=Liferay Service Platform
# This includes some developer properties that most Liferay developers use.
include-and-override=portal-developer.properties
#
# External Database Configuration, not needed for development
#
#jdbc.default.driverClassName=com.mysql.cj.jdbc.Driver
#jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
#jdbc.default.username=root
#jdbc.default.password=
##
## Company Settings
# Disable requiring terms of use
terms.of.use.required=false
# No need to verify emails used during registration
company.security.strangers.verify=false
# Don't launch a browser at startup
browser.launcher.url=
##
## Users
# Disable th security question
users.reminder.queries.enabled=false
users.reminder.queries.custom.question.enabled=false
##
## Passwords
# Disable the default "Required reset" so that developers don't
# have to change the password that they set above
passwords.default.policy.change.required=false
##
## Layouts
# Disable auto-generation of User public/private sites and pages
layout.user.private.layouts.enabled=false
layout.user.private.layouts.auto.create=false
layout.user.public.layouts.enabled=false
layout.user.public.layouts.auto.create=false
# Disable the Captcha
captcha.enforce.disabled=true
# Ensure that shared server accepts all host
virtual.hosts.valid.hosts=*
# Disable the setup wizard since we're setting everything up
setup.wizard.enabled=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment