diff --git a/Dockerfile b/Dockerfile index 2d9cbc1..f56c48f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM node:22-alpine ENV NODE_ENV=production # set working directory. -WORKDIR /app +WORKDIR /kutt # download dependencies while using Docker's caching RUN --mount=type=bind,source=package.json,target=package.json \ diff --git a/docker-compose.mariadb.yml b/docker-compose.mariadb.yml index 5b0c68b..230c628 100644 --- a/docker-compose.mariadb.yml +++ b/docker-compose.mariadb.yml @@ -3,7 +3,7 @@ services: build: context: . volumes: - - custom:/app/custom + - custom:/kutt/custom environment: DB_CLIENT: mysql2 DB_HOST: mariadb diff --git a/docker-compose.postgres.yml b/docker-compose.postgres.yml index d89a11b..c17ff0a 100644 --- a/docker-compose.postgres.yml +++ b/docker-compose.postgres.yml @@ -3,7 +3,7 @@ services: build: context: . volumes: - - custom:/app/custom + - custom:/kutt/custom environment: DB_CLIENT: pg DB_HOST: postgres diff --git a/docker-compose.sqlite-redis.yml b/docker-compose.sqlite-redis.yml index 4cc4af1..13ba3ff 100644 --- a/docker-compose.sqlite-redis.yml +++ b/docker-compose.sqlite-redis.yml @@ -4,7 +4,7 @@ services: context: . volumes: - db_data_sqlite:/var/lib/kutt - - custom:/app/custom + - custom:/kutt/custom environment: DB_FILENAME: "/var/lib/kutt/data.sqlite" REDIS_ENABLED: true diff --git a/docker-compose.yml b/docker-compose.yml index 2983e44..b2aa5c2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: context: . volumes: - db_data_sqlite:/var/lib/kutt - - custom:/app/custom + - custom:/kutt/custom environment: DB_FILENAME: "/var/lib/kutt/data.sqlite" ports: