change docker work directory back to kutt for backward compatibility
This commit is contained in:
parent
318ec02d07
commit
b8a7cb6a85
@ -5,7 +5,7 @@ FROM node:22-alpine
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# set working directory.
|
# set working directory.
|
||||||
WORKDIR /app
|
WORKDIR /kutt
|
||||||
|
|
||||||
# download dependencies while using Docker's caching
|
# download dependencies while using Docker's caching
|
||||||
RUN --mount=type=bind,source=package.json,target=package.json \
|
RUN --mount=type=bind,source=package.json,target=package.json \
|
||||||
|
@ -3,7 +3,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
volumes:
|
volumes:
|
||||||
- custom:/app/custom
|
- custom:/kutt/custom
|
||||||
environment:
|
environment:
|
||||||
DB_CLIENT: mysql2
|
DB_CLIENT: mysql2
|
||||||
DB_HOST: mariadb
|
DB_HOST: mariadb
|
||||||
|
@ -3,7 +3,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
volumes:
|
volumes:
|
||||||
- custom:/app/custom
|
- custom:/kutt/custom
|
||||||
environment:
|
environment:
|
||||||
DB_CLIENT: pg
|
DB_CLIENT: pg
|
||||||
DB_HOST: postgres
|
DB_HOST: postgres
|
||||||
|
@ -4,7 +4,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
volumes:
|
volumes:
|
||||||
- db_data_sqlite:/var/lib/kutt
|
- db_data_sqlite:/var/lib/kutt
|
||||||
- custom:/app/custom
|
- custom:/kutt/custom
|
||||||
environment:
|
environment:
|
||||||
DB_FILENAME: "/var/lib/kutt/data.sqlite"
|
DB_FILENAME: "/var/lib/kutt/data.sqlite"
|
||||||
REDIS_ENABLED: true
|
REDIS_ENABLED: true
|
||||||
|
@ -4,7 +4,7 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
volumes:
|
volumes:
|
||||||
- db_data_sqlite:/var/lib/kutt
|
- db_data_sqlite:/var/lib/kutt
|
||||||
- custom:/app/custom
|
- custom:/kutt/custom
|
||||||
environment:
|
environment:
|
||||||
DB_FILENAME: "/var/lib/kutt/data.sqlite"
|
DB_FILENAME: "/var/lib/kutt/data.sqlite"
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user