From 8bb656cb17222f76926eb9eb84cdfff808101693 Mon Sep 17 00:00:00 2001 From: Jonas Janz <5434875+PixelJonas@users.noreply.github.com> Date: Sat, 1 Oct 2022 23:01:27 +0200 Subject: [PATCH] add docker volumes to services (#766) * add docker volumes to services this change adds the volume definitions for /usr/src/app/upload /usr/src/app/.reverse-geocoding-dump to the `immich-server` docker-compose files as /usr/src/app/upload should always be a volume for the containers I also added it to the `Dockerfile` Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com> * remove geocoding-dump volume from docker-compose Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com> --- server/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/Dockerfile b/server/Dockerfile index 5927a68278..c3daf8cda9 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -29,4 +29,6 @@ COPY --from=builder /usr/src/app/dist ./dist RUN npm prune --production +VOLUME /usr/src/app/upload + EXPOSE 3001