Replies: 1 comment
-
I had the same issue beause I put everything in the .env file instead of the addy.env (which is the one used). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, there,
I installed addy docker images using docker-compose, addy_db and addy_redis are fine, however addy restarted all the time, I checked addy docker's log and found the following error:
ERROR: Either APP_KEY or APP_KEY_FILE must be defined
However I did put APP_KEY in addy.env, can someone help me?
addy.env:
LOG_IP_VAR=remote_addr
APP_KEY=base64:KJ1LX0w15ItOoMWdC+DNW2Bt0Z4sT98zu0XQ8Zfaf9o=
APP_DEBUG=false
APP_URL=http://127.0.0.1:8000
docker logs container#
...
Fixing perms...
[cont-init.d] 02-fix-perms.sh: exited 0.
[cont-init.d] 10-config.sh: executing...
Setting timezone to America/Los_Angeles...
Initializing files and folders
Checking database connection...
Waiting 60s for database to be ready...
Database ready!
[cont-init.d] 10-config.sh: exited 0.
[cont-init.d] 11-config-php.sh: executing...
Init PHP extensions
Setting PHP-FPM configuration
Setting PHP INI configuration
Setting OpCache configuration
[cont-init.d] 11-config-php.sh: exited 0.
[cont-init.d] 12-config-nginx.sh: executing...
Setting Nginx configuration
[cont-init.d] 12-config-nginx.sh: exited 0.
[cont-init.d] 13-config-anonaddy.sh: executing...
ERROR: Either APP_KEY or APP_KEY_FILE must be defined
[cont-init.d] 13-config-anonaddy.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
root@ubuntu:~#
thanks,
-xun
Beta Was this translation helpful? Give feedback.
All reactions