FF4C -- FreshFlow For
docker swarm init
docker context create --help
docker context create fra3 --description "FF Frankfurt" --docker "host=ssh://<username>@ssdnodes3.freshflow.cz"
docker context create metal --description "FF Metal" --docker "host=ssh://<username>@metal209.freshflow.cz"
docker context create ffcloud --description "FF Cloud" --docker "host=ssh://<username>@ff-ubuntu-02.freshflow.cz"
docker context create freshflow-dev --description "FF Dev" --docker "host=ssh://<username>@ssdnodes3.freshflow.cz"
./app-config/local/stack.sh deploy
ssh [email protected] \
"sudo su - -c bash -s" -- < cloud-init/docker-init.sh
db.yml
app.yml
run
docker stack deploy -c db.yml db --with-registry-auth
docker stack deploy -c app.yml -c app.redis.yml -c app.cluster.yml app --with-registry-auth
app.notifier.yml
Env variables can be read when parsing .neon files. If Yaml extension is loaded, yaml is used, otherwise neon Syntax:
Are loaded before $app->run(); PLUGIN is defined from env FF_PLUGIN or GENERAL:
Will be stored in git, if credentials necessary, define as constants with (name is prefixed FF_ to get variable name)
defineWithEnv($name,$default);
110509 12:04:27 [ERROR] Plugin 'InnoDB' init function returned error.
110509 12:04:27 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
Solution:
docker exec -i db_mysql.1.rhpcjax4916p53wcoiukld4w3 sh -c 'mysql -u root -pXXXX' < 2020-07-15T201709Z.app_ff_cz.sql
Content type
Image
Digest
sha256:c5853cc6c…
Size
141.1 MB
Last updated
about 1 year ago
docker pull freshflow/php:8.4-fpm