Skip to content

Commit

Permalink
Cms
Browse files Browse the repository at this point in the history
  • Loading branch information
RamiAouinti committed Nov 17, 2024
1 parent b74b149 commit 2f94d10
Show file tree
Hide file tree
Showing 928 changed files with 908,170 additions and 440 deletions.
151 changes: 151 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,154 @@ MESSENGER_TRANSPORT_DSN=amqp://${RABBITMQ_USER}:${RABBITMQ_PASS}@rabbitmq:5672/%
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###


# ARM64V8 name
ARM64V8=arm64v8

# a) Either ARM64V8 image add (for non Mac arm processors)
IMAGE_ADD=""

# b) Or ARM64V8 image add (for Mac arm processors)
#IMAGE_ADD="${ARM64V8}/"

# Namespace of this project
NAMESPACE=de.ixno.php-calendar-api

# Namespace of this project (development)
NAMESPACE_DEVELOPMENT=${NAMESPACE}.development

# Namespace to use for host name variables (hostname safe)
NAMESPACE_HOSTNAME=de-ixno-php-calendar-api

# Namespace to use for host name variables (hostname safe) (development)
NAMESPACE_HOSTNAME_DEVELOPMENT=${NAMESPACE_HOSTNAME}-development

# Namespace of image
APP_IMAGE=ixnode/${IMAGE_ADD}php-calendar-api

# Namespace of image (development)
APP_IMAGE_DEVELOPMENT=ixnode/${IMAGE_ADD}php-calendar-api-dev

# The URL of this project
GENERAL_URL_BASIC=twelvepics.com
GENERAL_URL=${GENERAL_URL_BASIC}

# htpasswd -nbm user pass
GENERAL_BASICAUTH=user:$$apr1$$7Aa2.yBz$$2nTJ7p9le2M1dFTJP3pbe.

# The port for access via the web
NGINX_EXPOSE_PORT_HTTP=80
NGINX_EXPOSE_PORT_HTTPS=443

# Version of this app
VERSION_APP=0.34.0

# Version of this app
VERSION_APP_LATEST=latest


UID=1000
GID=1000


###> PHP Configuration ###
PHP_FPM_SERVER_DOCKERFILE=php-fpm.dockerfile
PHP_VERSION=8.1.4
PHP_VERSION_HOSTNAME=8-1-4
###< PHP Configuration ###

###> Docker Configuration: MySQL secrets and configurations
MYSQL_VERSION_HOSTNAME=10-7-1
MYSQL_IMAGE=mariadb:${MYSQL_VERSION}
MYSQL_SERVER_USER_ROOT=root
MYSQL_SERVER_PASSWORD_ROOT=ajWqh7sUeUUa
MYSQL_SERVER_PORT='3306'
MYSQL_SERVER_VERSION=mariadb-10.7.3
MYSQL_SERVER_DRIVER=pdo_mysql
# db
MYSQL_SERVER_DB=php-calendar-api
MYSQL_SERVER_USER=php-calendar-api
MYSQL_SERVER_PASSWORD=php-calendar-api
# test db
MYSQL_SERVER_DB_TEST=php-calendar-api-test
MYSQL_SERVER_USER_TEST=php-calendar-api-test
MYSQL_SERVER_PASSWORD_TEST=php-calendar-api-test
###< Docker Configuration: MySQL secrets and configurations

###> Adminer web application configs
ADMINER_WEB_APPLICATION_URL=adminer.${GENERAL_URL_BASIC}
ADMINER_WEB_APPLICATION_IMAGE=adminer:4.8.1
ADMINER_WEB_APPLICATION_CONTAINER_NAME=adminer-4.8.1-${NAMESPACE}
ADMINER_WEB_APPLICATION_HOSTNAME=adminer-4-8-1-${NAMESPACE_HOSTNAME}
###< Adminer web application configs

###> Traefik configs
TRAEFIK_SUFFIX=
###< Traefik configs

###> Docker Configuration: Mail secrets and configurations
MAIL_SERVER_TRANSPORT=smtp
MAIL_SERVER_HOST=localhost
MAIL_SERVER_PORT=1025
###< Docker Configuration: Mail secrets and configurations

###> Docker Configuration: System secrets and configurations
SYSTEM_CONTEXT=Development
SYSTEM_PROXY_HOST=
###< Docker Configuration: System secrets and configurations

###> Docker Configuration: General configurations
MYSQL_EXPOSE_PORT='3306' # Attention: Please also make changes to the DOCTRINE_DB_PORT variable.
MYSQL_EXPOSE_PORT_TEST='3321'
###< Docker Configuration: General configurations
###> own variables ###
PROJECT_NAME="PHP Calendar API"
API_BASE_URL=/api/v1
###< own variables ###

###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=cf0c55c30bea94a163674696bca73ad5
JWT_ROLE="IS_AUTHENTICATED_FULLY"
###< lexik/jwt-authentication-bundle ###

###> api ###
API_TRUSTED_IPS=127.0.0.1
###< api ###

###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
DOCTRINE_DB_HOST=${ENV_DB_HOST:-127.0.0.1}
DOCTRINE_DB_PORT=${ENV_DB_PORT:-3306}
DOCTRINE_DB_NAME=${MYSQL_SERVER_DB}
DOCTRINE_DB_USER=${MYSQL_SERVER_USER_ROOT}
DOCTRINE_DB_PASS=${MYSQL_SERVER_PASSWORD_ROOT}
DOCTRINE_DB_DRIVER=${MYSQL_SERVER_DRIVER}
DOCTRINE_DB_VERSION=${MYSQL_SERVER_VERSION}
###< doctrine/doctrine-bundle ###

###> table-dumper (local docker settings) ###
MYSQLDUMP_DATABASE_URL=mysql://php-calendar-api:php-calendar-api@127.0.0.1:3320/php-calendar-api?serverVersion=5.7
#MYSQLDUMP_DATABASE_URL=mysql://php-calendar-api:php-calendar-api@de-ixno-php-calendar-api-development-db-10-7-1:3306/php-calendar-api?serverVersion=5.7
MYSQLDUMP_IGNORED_TABLES=calendar*,doctrine_migration_versions,event,holiday_group,image,place,refresh_tokens,user
MYSQLDUMP_IGNORED_TABLES=calendar*,doctrine_migration_versions,event,holiday_group,image,place,refresh_tokens,user,holiday
#MYSQLDUMP_FILTERED_TABLES=
#MYSQLDUMP_TABLES_NO_DATA=
#MYSQLDUMP_TABLES_ONLY_DATA=
###< table-dumper (local docker settings) ###
###< symfony/lock ###

# Select default language (en, ru, bg, nl, hu)
LANGUAGE_CODE=en

###> symfony/google-mailer ###
# Gmail SHOULD NOT be used on production, use it in development only.
# MAILER_DSN=gmail://USERNAME:PASSWORD@default
###< symfony/google-mailer ###
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,14 @@ reports/*
###> phpstan/phpstan ###
phpstan.neon
###< phpstan/phpstan ###

###> lexik/jwt-authentication-bundle ###
/config/jwt/*.pem
###< lexik/jwt-authentication-bundle ###

###> symfony/webpack-encore-bundle ###
/node_modules/
/public/build/
npm-debug.log
yarn-error.log
###< symfony/webpack-encore-bundle ###
44 changes: 44 additions & 0 deletions .idea/htdocs.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions .idea/phpspec.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2f94d10

Please sign in to comment.