You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
built the docker and ran it with this docker-compose file
version: "3.7"name: "davis-docker"services:
nginx:
image: nginx:1.23-alpinecontainer_name: nginxcommand: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"depends_on:
- davisvolumes:
- davis_www:/var/www/davis
- type: bindsource: ./configurations/davis.conftarget: /etc/nginx/conf.d/default.confports:
- 5050:80davis:
build:
context: ./repo/dockerfile: ./docker/Dockerfileargs:
fpm_user: 101:101image: davis:latest# If you want to use a prebuilt image from Github# image: ghcr.io/tchapi/davis:edgecontainer_name: davisenv_file:
- path: .env.localvolumes:
- davis_www:/var/www/davis
- davis_data:/datavolumes:
davis_www:
name: davis_wwwdavis_data:
name: davis_data
and the .env.local:
# For the MariaDB container mainlyDB_ROOT_PASSWORD=notSoSecureTIMEZONE=Europe/Berlin# The Davis database, user and passwordDB_DATABASE=davisDB_USER=davis_userDB_PASSWORD=davis_password# For the Davis appADMIN_LOGIN=adminADMIN_PASSWORD=testAUTH_REALM=SabreDAV# Auth Method for the frontend# "Basic", "IMAP", or "LDAP"AUTH_METHOD=LDAP# In case of LDAP Auth, you must specify the url of the LDAP server# See https://www.php.net/manual/en/function.ldap-connect for more detailsLDAP_AUTH_URL="ldap://127.0.0.1:389"LDAP_DN_PATTERN="uid=%u"LDAP_MAIL_ATTRIBUTE="mail"LDAP_AUTH_USER_AUTOCREATE=falseCALDAV_ENABLED=trueCARDDAV_ENABLED=trueWEBDAV_ENABLED=falseWEBDAV_TMP_DIR='/tmp'WEBDAV_PUBLIC_DIR='/webdav'# INVITE_FROM_ADDRESS=no-reply@example.org# MAIL_HOST=smtp.myprovider.com# MAIL_PORT=587# MAIL_USERNAME=userdav# MAIL_PASSWORD=test
On the webinterface i get this error page:
Thanks in advance!
The text was updated successfully, but these errors were encountered:
You're running in dev mode while it seems you have installed the packages in production mode (the WebProfilerBundle is not installed in production obviously)
Thanks!
The real issue was that i assumed docker compose would automatically read .env.local files and as that didn't work, i used env_file and missed to copy some enviromental variables.
built the docker and ran it with this docker-compose file
and the
.env.local
:On the webinterface i get this error page:
Thanks in advance!
The text was updated successfully, but these errors were encountered: