diff --git a/compose.yml b/compose.yml index 7d4006b..254e1fa 100644 --- a/compose.yml +++ b/compose.yml @@ -18,12 +18,12 @@ services: # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding volumes: # 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 - - immich-uploads:/usr/src/app/upload + - /media/immich:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - - '2283:2283' + - "2283:2283" depends_on: - redis - database @@ -84,7 +84,7 @@ services: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} - POSTGRES_INITDB_ARGS: '--data-checksums' + POSTGRES_INITDB_ARGS: "--data-checksums" volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - immich-database:/var/lib/postgresql/data @@ -119,15 +119,6 @@ networks: volumes: model-cache: {} - immich-uploads: - driver: local - driver_opts: - type: nfs - o: "addr=${NFS_URL},soft,nolock,rw" - device: "${UPLOAD_LOCATION}" - labels: - dev.housh.description: "Immich upload volume." - immich-database: driver: local labels: diff --git a/example.env b/example.env index a02acd6..a6401a4 100644 --- a/example.env +++ b/example.env @@ -1,8 +1,5 @@ # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables -# The location where your uploaded files are stored -UPLOAD_LOCATION=":/var/nfs/path/to/photo/library" - # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC