Doc: Update docker-compose.server.yml (#6283)

pull/6298/head
Andrew 2022-03-18 07:06:40 -04:00 committed by GitHub
parent 5c3b2671bf
commit e83d662555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 2 deletions

View File

@ -1,8 +1,19 @@
# This is a sample docker-compose file that can be used to run Joplin Server # This is a sample docker-compose file that can be used to run Joplin Server
# along with a PostgreSQL server. # along with a PostgreSQL server.
# #
# All environment variables are optional. If you don't set them, you will get a # Update the following fields in the stanza below:
# warning from docker-compose, however the app should use working defaults. #
# POSTGRES_USER
# POSTGRES_PASSWORD
# APP_BASE_URL
#
# APP_BASE_URL: This is the base public URL where the service will be running.
# - If Joplin Server needs to be accessible over the internet, configure APP_BASE_URL as follows: https://example.com/joplin.
# - If Joplin Server does not need to be accessible over the internet, set the the APP_BASE_URL to your server's hostname.
# For Example: http://[hostname]:22300. The base URL can include the port.
# APP_PORT: The local port on which the Docker container will listen.
# - This would typically be mapped to port to 443 (TLS) with a reverse proxy.
# - If Joplin Server does not need to be accessible over the internet, the port can be mapped to 22300.
version: '3' version: '3'