more tuning

This commit is contained in:
Christian Winther 2024-01-15 14:57:40 +00:00
parent 543dac34f6
commit 519704cbe8
2 changed files with 22 additions and 15 deletions

View file

@ -19,22 +19,30 @@ DOCKER_CONFIG_ROOT="./docker-compose/config"
# #
DOCKER_IMAGE="ghcr.io/jippi/pixelfed" DOCKER_IMAGE="ghcr.io/jippi/pixelfed"
# Pixelfed version (image tag) to pull from the registry # Pixelfed version (image tag) to pull from the registry.
#
# See: https://github.com/pixelfed/pixelfed/pkgs/container/pixelfed
DOCKER_TAG="branch-jippi-fork-apache-8.1" DOCKER_TAG="branch-jippi-fork-apache-8.1"
# Set timezone used by *all* containers - these should be in sync # Set timezone used by *all* containers - these should be in sync.
# #
# See: https://www.php.net/manual/en/timezones.php # See: https://www.php.net/manual/en/timezones.php
TZ="UTC" TZ="UTC"
# Automatically run [artisan migrate --force] if new migrations are detected # Automatically run [artisan migrate --force] if new migrations are detected.
DOCKER_APPLY_NEW_MIGRATIONS_AUTOMATICALLY="0" DOCKER_APPLY_NEW_MIGRATIONS_AUTOMATICALLY="0"
# The e-mail to use for Lets Encrypt certificate requests # The e-mail to use for Lets Encrypt certificate requests.
LETSENCRYPT_EMAIL="__CHANGE_ME__" LETSENCRYPT_EMAIL="__CHANGE_ME__"
# Lets Encrypt staging/test servers for certificate requests # Lets Encrypt staging/test servers for certificate requests.
LETSENCRYPT_TEST= #
# Setting this to any value will change to letsencrypt test servers.
#LETSENCRYPT_TEST="1"
# Enable Docker Entrypoint debug mode (will call [set -x] in bash scripts)
# by setting this to "1".
#ENTRYPOINT_DEBUG="0"
############################################################### ###############################################################
# Pixelfed application configuration # Pixelfed application configuration
@ -42,13 +50,13 @@ LETSENCRYPT_TEST=
# A random 32-character string to be used as an encryption key. # A random 32-character string to be used as an encryption key.
# #
# No default value; use [php artisan key:generate] to generate. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# ! NOTE: This will be auto-generated by Docker during bootstrap
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# #
# This key is used by the Illuminate encrypter service and should be set to a random, # This key is used by the Illuminate encrypter service and should be set to a random,
# 32 character string, otherwise these encrypted strings will not be safe. # 32 character string, otherwise these encrypted strings will not be safe.
# #
# Please do this before deploying an application!
#
# See: https://docs.pixelfed.org/technical-documentation/config/#app_key # See: https://docs.pixelfed.org/technical-documentation/config/#app_key
APP_KEY= APP_KEY=
@ -102,7 +110,7 @@ ADMIN_DOMAIN="${APP_DOMAIN}"
# Defaults to "1000". # Defaults to "1000".
# #
# See: https://docs.pixelfed.org/technical-documentation/config/#pf_max_users # See: https://docs.pixelfed.org/technical-documentation/config/#pf_max_users
PF_MAX_USERS="1000" #PF_MAX_USERS="1000"
# Enforce the maximum number of user accounts # Enforce the maximum number of user accounts
# #
@ -152,7 +160,7 @@ APP_TIMEZONE="${TZ}"
# Defaults to "15000" (15MB). # Defaults to "15000" (15MB).
# #
# See: https://docs.pixelfed.org/technical-documentation/config/#max_photo_size-kb # See: https://docs.pixelfed.org/technical-documentation/config/#max_photo_size-kb
MAX_PHOTO_SIZE="15000" #MAX_PHOTO_SIZE="15000"
# Update the max avatar size, in kB. # Update the max avatar size, in kB.
# #
@ -187,7 +195,7 @@ MAX_PHOTO_SIZE="15000"
# Defaults to "4". # Defaults to "4".
# #
# See: https://docs.pixelfed.org/technical-documentation/config/#max_album_length # See: https://docs.pixelfed.org/technical-documentation/config/#max_album_length
MAX_ALBUM_LENGTH="4" #MAX_ALBUM_LENGTH="4"
# Resize and optimize image uploads. # Resize and optimize image uploads.
# #
@ -296,8 +304,6 @@ DB_DATABASE="pixelfed_prod"
# See: https://docs.pixelfed.org/technical-documentation/config/#db_port # See: https://docs.pixelfed.org/technical-documentation/config/#db_port
DB_PORT="3306" DB_PORT="3306"
ENTRYPOINT_DEBUG=0
############################################################### ###############################################################
# Mail configuration # Mail configuration
############################################################### ###############################################################

View file

@ -147,7 +147,8 @@ jobs:
latest=auto latest=auto
suffix=-${{ matrix.target_runtime }}-${{ matrix.php_version }} suffix=-${{ matrix.target_runtime }}-${{ matrix.php_version }}
tags: | tags: |
type=edge,branch=dev type=raw,value=dev,enable=${{ github.ref == format('refs/heads/{0}', 'dev') }}
type=raw,value=staging,enable=${{ github.ref == format('refs/heads/{0}', 'staging') }}
type=pep440,pattern={{raw}} type=pep440,pattern={{raw}}
type=pep440,pattern=v{{major}}.{{minor}} type=pep440,pattern=v{{major}}.{{minor}}
type=ref,event=branch,prefix=branch- type=ref,event=branch,prefix=branch-