diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4b8453ce58..bb752c0d2a 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -19,8 +19,11 @@ services: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro - env_file: - - .env + environment: + DB_USERNAME: ${DB_USERNAME} + DB_PASSWORD: ${DB_PASSWORD} + DB_USERNAME: ${DB_DATABASE_NAME} + TZ: $TZ ports: - '2283:2283' depends_on: @@ -40,8 +43,6 @@ services: # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache - env_file: - - .env restart: always healthcheck: disable: false