-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
203 lines (153 loc) · 6.38 KB
/
.env
File metadata and controls
203 lines (153 loc) · 6.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
###> General Config / Docker Compose Settings ###
# https://docs.docker.com/compose/reference/envvars/#compose_project_name
COMPOSE_PROJECT_NAME=com_twelvepics_php_calendar_builder
# 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=com.twelvepics.php.calendar.builder
# Namespace of this project (development)
NAMESPACE_DEVELOPMENT=${NAMESPACE}.development
# Namespace to use for host name variables (hostname safe)
NAMESPACE_HOSTNAME=com-twelvepics-php-calendar-builder
# Namespace to use for host name variables (hostname safe) (development)
NAMESPACE_HOSTNAME_DEVELOPMENT=${NAMESPACE_HOSTNAME}-development
# Namespace to use for host name variables (hostname safe)
NAMESPACE_UNDERLINE=com_twelvepics_php_calendar_builder
# Namespace to use for host name variables (hostname safe) (development)
NAMESPACE_HOSTNAME_UNDERLINE=${NAMESPACE_UNDERLINE}_development
# Namespace of app image
IMAGE_APP=ixnode/tp-php-calendar-builder/${IMAGE_ADD}app
# Namespace of app image (development)
IMAGE_PHP=ixnode/tp-php-calendar-builder/${IMAGE_ADD}php
# Namespace of nginx image
IMAGE_NGINX=ixnode/tp-php-calendar-builder/${IMAGE_ADD}nginx
# Namespace of mysql image
IMAGE_MYSQL=${IMAGE_ADD}mysql:8.0.35
# Adminer image as MySQL backend
IMAGE_ADMINER=${IMAGE_ADD}adminer:4.8.1
# The general URL of this project
URL_PRODUCTION=builder.twelvepics.com
# The local URL of this project
URL_LOCAL=calendar-builder.localhost
# htpasswd -nbm ixno Omaderisave483 (do not use $$ on old composer version)
GENERAL_BASICAUTH_PRODUCTION='ixno:$apr1$5JvcxkWC$iA7cBjSG3xTSO/Y/dsHZt/'
# Version of this app
VERSION_APP=0.1.41
# Version of nginx image
VERSION_NGINX=0.1.0
# Version of php image
VERSION_PHP=0.1.0
# Version of this app
VERSION_APP_LATEST=latest
# Set UID and GID
UID=${UID}
GID=${GID}
# Traefik network name (local)
NETWORK_NAME_TRAEFIK_PUBLIC_LOCAL=traefik
# Traefik network name (public)
NETWORK_NAME_TRAEFIK_PUBLIC_PRODUCTION=traefik-public
# https port (is usually not changed)
PORT_HTTP=80
# https port (is usually not changed)
PORT_HTTPS=443
# Internal docker adminer http port (is usually not changed)
PORT_MYSQL_INTERNAL=3306
# Internal docker adminer http port (is usually not changed)
PORT_HTTP_ADMINER_INTERNAL=8080
# Internal docker mailhog http port (is usually not changed)
PORT_HTTP_MAILHOG_INTERNAL=8025
# Internal docker mailhog smtp port (is usually not changed)
PORT_SMTP_MAILHOG_INTERNAL=1025
# Expose api https port (To bypass the Traefik proxy or if it is not installed)
PORT_HTTP_APP_EXPOSE=5480
# Expose api https port (To bypass the Traefik proxy or if it is not installed)
PORT_HTTPS_APP_EXPOSE=5443
# Expose db (mysql) port (External db app)
# Attention for PORT_DB_MAIN_EXPOSE: Please also make changes to the DOCTRINE_DB_PORT variable.
PORT_DB_MAIN_EXPOSE=5406
# Expose db (mysql) port (External db app)
PORT_DB_TEST_EXPOSE=5407
# Expose adminer http port (To bypass the Traefik proxy or if it is not installed)
PORT_HTTP_ADMINER_EXPOSE=5481
# Expose mailhog http port (To bypass the Traefik proxy or if it is not installed)
PORT_HTTP_MAILHOG_EXPOSE=5482
# Expose mailhog smtp port (To bypass the Traefik proxy or if it is not installed)
PORT_SMTP_MAILHOG_EXPOSE=5425
###< General Config / Docker Compose Settings ###
###> symfony/framework-bundle ###
APP_ENV=prod
APP_DEBUG=0
APP_SECRET=9d678e9de0f2dacf789e788abe853b8d
###< symfony/framework-bundle ###
###> PHP Configuration ###
DOCKERFILE_PHP_FPM=php-fpm.dockerfile
DOCKERFILE_NGINX=nginx.dockerfile
PHP_VERSION=8.2.12
PHP_VERSION_HOSTNAME=8-2-12
###< PHP Configuration ###
###> Docker Configuration: MySQL secrets and configurations
MYSQL_SERVER_HOST=127.0.0.1
MYSQL_SERVER_ROOT_USER=root
MYSQL_SERVER_ROOT_PASSWORD=secret-pass-681
MYSQL_SERVER_USER=pcb
MYSQL_SERVER_PASSWORD=secret-pass-681
MYSQL_SERVER_DB=hdb
MYSQL_SERVER_DB_TEST=hdb-test
MYSQL_SERVER_PORT=${PORT_MYSQL_INTERNAL}
MYSQL_SERVER_VERSION=8.0
MYSQL_SERVER_DRIVER=pdo_mysql
###< Docker Configuration: MySQL secrets and configurations
###> Docker Configuration: Mail secrets and configurations
MAIL_SERVER_TRANSPORT=smtp
MAIL_SERVER_HOST=127.0.0.1
#MAIL_SERVER_HOST=${NAMESPACE_HOSTNAME_DEVELOPMENT}-mailhog
MAIL_SERVER_PORT=1025
###< Docker Configuration: Mail secrets and configurations
##> doctrine/doctrine-bundle (mysql) ###
# 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_DRIVER=${MYSQL_SERVER_DRIVER}
DOCTRINE_DB_VERSION=${MYSQL_SERVER_VERSION}
DOCTRINE_DB_PATH=
DOCTRINE_DB_NAME=${MYSQL_SERVER_DB}
DOCTRINE_DB_HOST=${ENV_DB_HOST:-127.0.0.1}
# Workaround for default port for DOCTRINE_DB_PORT: Because ${ENV_DB_PORT:-${PORT_DB_MAIN_EXPOSE}} does not work
DOCTRINE_DB_PORT=${ENV_DB_PORT:-5406}
DOCTRINE_DB_USER=${MYSQL_SERVER_ROOT_USER}
DOCTRINE_DB_PASS=${MYSQL_SERVER_ROOT_PASSWORD}
DOCTRINE_DB_SSL_CA=
DOCTRINE_DB_SSL_VERIFY_SERVER_CERT=false
DOCTRINE_DB_INIT_COMMAND="SET NAMES utf8"
###< doctrine/doctrine-bundle (mysql) ###
###> own variables ###
PROJECT_NAME="Calendar Builder"
PROJECT_DESCRIPTION="This project provides an Calendar Builder API. The communication is done via CLI and REST API."
API_BASE_URL=/api/v1
API_COUNTRY_CODE=de_DE
###< own variables ###
###> table-dumper (local docker settings) ###
MYSQLDUMP_DATABASE_URL=mysql://${MYSQL_SERVER_ROOT_USER}:${MYSQL_SERVER_ROOT_PASSWORD}@${MYSQL_SERVER_HOST}:${MYSQL_SERVER_PORT}/${MYSQL_SERVER_DB}?serverVersion=${MYSQL_SERVER_VERSION}
MYSQLDUMP_IGNORED_TABLES=
#MYSQLDUMP_FILTERED_TABLES=
#MYSQLDUMP_TABLES_NO_DATA=
#MYSQLDUMP_TABLES_ONLY_DATA=
###< table-dumper (local docker settings) ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(calendar.twelvepics.com|calendar.localhost|localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
###> symfony/mailer ###
MAILER_DSN=smtp://${MAIL_SERVER_PORT}:${MAIL_SERVER_PORT}
###< symfony/mailer ###
###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###< symfony/messenger ###
###> redis adapter ###
REDIS_DNS=redis://redis
###< redis adapter ###