Christian Winther пре 1 година
родитељ
комит
143d5703dd
2 измењених фајлова са 25 додато и 17 уклоњено
  1. 24 16
      .env.docker
  2. 1 1
      Dockerfile

+ 24 - 16
.env.docker

@@ -12,15 +12,16 @@
 # app
 ################################################################################
 
+# The name/title for your site
 # @see https://docs.pixelfed.org/technical-documentation/config/#app_name-1
-# @dottie/validate required
-APP_NAME="Pixelfed Prod"
+# @dottie/validate required,ne=My Pixelfed Site
+APP_NAME="My Pixelfed Site"
 
-# Application domains used for routing.
+# Application domain used for routing. (e.g., pixelfed.org)
 #
 # @see https://docs.pixelfed.org/technical-documentation/config/#app_domain
-# @dottie/validate required,fqdn
-APP_DOMAIN="__CHANGE_ME__"
+# @dottie/validate required,ne=example.com,fqdn
+APP_DOMAIN="example.com"
 
 # This URL is used by the console to properly generate URLs when using the Artisan command line tool.
 # You should set this to the root of your application so that it is used when running Artisan tasks.
@@ -208,10 +209,12 @@ APP_TIMEZONE="UTC"
 # @dottie/validate required,boolean
 #INSTANCE_PUBLIC_HASHTAGS="false"
 
+# The public e-mail address people can use to contact you by
+#
 # @default ""
 # @see https://docs.pixelfed.org/technical-documentation/config/#instance_contact_email
-# @dottie/validate required,email
-INSTANCE_CONTACT_EMAIL="admin@${APP_DOMAIN}"
+# @dottie/validate required,ne=__CHANGE_ME__,email
+INSTANCE_CONTACT_EMAIL="__CHANGE_ME__"
 
 # @default "false"
 # @see https://docs.pixelfed.org/technical-documentation/config/#instance_public_local_timeline
@@ -237,7 +240,7 @@ INSTANCE_CONTACT_EMAIL="admin@${APP_DOMAIN}"
 # @default false
 # @see https://docs.pixelfed.org/technical-documentation/config/#media_exif_database
 # @dottie/validate required,boolean
-MEDIA_EXIF_DATABASE="true"
+#MEDIA_EXIF_DATABASE="false"
 
 # Pixelfed supports GD or ImageMagick to process images.
 #
@@ -357,9 +360,12 @@ DB_HOST="db"
 # @dottie/validate required
 DB_USERNAME="pixelfed"
 
+# The password to your database. Please make it secure.
+# Use a site like https://pwgen.io/ to generate it
+#
 # @see https://docs.pixelfed.org/technical-documentation/config/#db_password
-# @dottie/validate required
-DB_PASSWORD=
+# @dottie/validate required,ne=__CHANGE_ME__
+DB_PASSWORD="__CHANGE_ME__"
 
 # @see https://docs.pixelfed.org/technical-documentation/config/#db_database
 # @dottie/validate required
@@ -416,19 +422,21 @@ DB_APPLY_NEW_MIGRATIONS_AUTOMATICALLY="false"
 # @dottie/validate required_with=MAIL_DRIVER,number
 #MAIL_PORT="587"
 
-# You may wish for all e-mails sent by your application to be sent from the same address.
-#
 # Here, you may specify a name and address that is used globally for all e-mails that are sent by your application.
 #
-# @default "hello@example.com"
+# You may wish for all e-mails sent by your application to be sent from the same address.
+#
+# @default "bot@example.com"
 # @see https://docs.pixelfed.org/technical-documentation/config/#mail_from_address
-# @dottie/validate required_with=MAIL_DRIVER,email
-MAIL_FROM_ADDRESS="hello@${APP_DOMAIN}"
+# @dottie/validate required_with=MAIL_DRIVER,email,ne=__CHANGE_ME__
+#MAIL_FROM_ADDRESS="__CHANGE_ME__"
 
+# The 'name' you send e-mail from
+#
 # @default "Example"
 # @see https://docs.pixelfed.org/technical-documentation/config/#mail_from_name
 # @dottie/validate required_with=MAIL_DRIVER
-MAIL_FROM_NAME="Pixelfed @ ${APP_DOMAIN}"
+#MAIL_FROM_NAME="${APP_NAME}"
 
 # If your SMTP server requires a username for authentication, you should set it here.
 #

+ 1 - 1
Dockerfile

@@ -21,7 +21,7 @@ ARG FOREGO_VERSION="0.17.2"
 ARG GOMPLATE_VERSION="v3.11.6"
 
 # See: https://github.com/jippi/dottie
-ARG DOTTIE_VERSION="v0.6.5"
+ARG DOTTIE_VERSION="v0.6.9"
 
 ###
 # PHP base configuration