Compare commits
2 Commits
7805b074f0
...
main
Author | SHA1 | Date | |
---|---|---|---|
4cef67a91d
|
|||
d1cf7d363a
|
@@ -1,3 +1,5 @@
|
|||||||
|
# This file is managed by ansible. Do not edit it by hand
|
||||||
|
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
image: {{ registry_url }}/{{ registry_project }}/{{ chill_image_nginx_name }}:{{ item.chill_image_tag }}
|
image: {{ registry_url }}/{{ registry_project }}/{{ chill_image_nginx_name }}:{{ item.chill_image_tag }}
|
||||||
@@ -46,6 +48,8 @@ services:
|
|||||||
consumer:
|
consumer:
|
||||||
<<: *defaultApp
|
<<: *defaultApp
|
||||||
entrypoint: "/usr/bin/env"
|
entrypoint: "/usr/bin/env"
|
||||||
|
environment:
|
||||||
|
CLEAR_CACHE: "false" # pre-generating the cache cause issue with permissions on the cache directory.
|
||||||
command:
|
command:
|
||||||
- "/bin/bash"
|
- "/bin/bash"
|
||||||
- "-c"
|
- "-c"
|
||||||
@@ -53,12 +57,7 @@ services:
|
|||||||
sleep 3 && bin/console cache:clear &&
|
sleep 3 && bin/console cache:clear &&
|
||||||
while ! [ -f /tmp/kill_me ];
|
while ! [ -f /tmp/kill_me ];
|
||||||
do
|
do
|
||||||
su -s /bin/bash -c 'php -d memory_limit=2G bin/console messenger:consume priority async --limit=20 --time-limit=600 -v' "$PHP_FPM_USER";
|
su -s /bin/bash -c 'php -d memory_limit=2G bin/console messenger:consume priority async --limit=20 --time-limit=600 -v' "www-data";
|
||||||
rc=$?;
|
|
||||||
if [ $rc -ne 0 ]; then
|
|
||||||
echo "Consumer exited with status $rc. Stopping container.";
|
|
||||||
exit $rc;
|
|
||||||
fi
|
|
||||||
done;
|
done;
|
||||||
pre_stop:
|
pre_stop:
|
||||||
- command:
|
- command:
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand
|
||||||
chill_doc_store:
|
chill_doc_store:
|
||||||
use_driver: local_storage
|
use_driver: local_storage
|
||||||
local_storage:
|
local_storage:
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand
|
||||||
|
|
||||||
framework:
|
framework:
|
||||||
trusted_proxies: '127.0.0.1,REMOTE_ADDR{% for ip in traefik_trusted_ips|default([]) %},{{ ip }}{% endfor %}'
|
trusted_proxies: '127.0.0.1,REMOTE_ADDR{% for ip in traefik_trusted_ips|default([]) %},{{ ip }}{% endfor %}'
|
||||||
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port']
|
trusted_headers: ['x-forwarded-for', 'x-forwarded-host', 'x-forwarded-proto', 'x-forwarded-port']
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand
|
||||||
lexik_jwt_authentication:
|
lexik_jwt_authentication:
|
||||||
# in production, the secret must be located in an environment variable
|
# in production, the secret must be located in an environment variable
|
||||||
# for converting the file to a raw variable, use this command:
|
# for converting the file to a raw variable, use this command:
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand
|
||||||
framework:
|
framework:
|
||||||
messenger:
|
messenger:
|
||||||
transports:
|
transports:
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand
|
||||||
parameters:
|
parameters:
|
||||||
log_prefix: {{ item.chill_environment }}
|
log_prefix: {{ item.chill_environment }}
|
||||||
monolog:
|
monolog:
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# This file is managed by ansible. Do not edit it by hand
|
||||||
APP_ENV=prod
|
APP_ENV=prod
|
||||||
APP_DEBUG=false
|
APP_DEBUG=false
|
||||||
TRUSTED_PROXIES=10.0.0.0/8,192.168.0.0/16,172.16.0.0/16
|
TRUSTED_PROXIES=10.0.0.0/8,192.168.0.0/16,172.16.0.0/16
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand
|
||||||
POSTGRES_DB={{ item.chill_config.database_name }}
|
POSTGRES_DB={{ item.chill_config.database_name }}
|
||||||
POSTGRES_USER={{ item.chill_config.database_user }}
|
POSTGRES_USER={{ item.chill_config.database_user }}
|
||||||
POSTGRES_PASSWORD={{ item.chill_config.database_password }}
|
POSTGRES_PASSWORD={{ item.chill_config.database_password }}
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand.
|
||||||
RABBITMQ_DEFAULT_USER={{ item.chill_config.rabbitmq_user }}
|
RABBITMQ_DEFAULT_USER={{ item.chill_config.rabbitmq_user }}
|
||||||
RABBITMQ_DEFAULT_PASS={{ item.chill_config.rabbitmq_password }}
|
RABBITMQ_DEFAULT_PASS={{ item.chill_config.rabbitmq_password }}
|
@@ -1,3 +1,4 @@
|
|||||||
|
# this file is managed by ansible. Do not edit it by hand.
|
||||||
services:
|
services:
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
# The official v3 Traefik docker image
|
# The official v3 Traefik docker image
|
||||||
|
Reference in New Issue
Block a user