1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

ref: Rename .env file to sample, stop tracking .env file

This commit is contained in:
Maksim Eltyshev 2022-04-22 16:21:09 +05:00
parent d457414a5a
commit 6de4bac8c1
4 changed files with 5 additions and 2 deletions

View file

@ -47,9 +47,11 @@ RUN apk -U upgrade \
&& apk del vips-dependencies --purge && apk del vips-dependencies --purge
COPY docker-start.sh start.sh COPY docker-start.sh start.sh
RUN chmod +x start.sh
COPY server . COPY server .
RUN chmod +x start.sh \
&& cp .env.sample .env
COPY --from=client-builder /app/build public COPY --from=client-builder /app/build public
COPY --from=client-builder /app/build/index.html views COPY --from=client-builder /app/build/index.html views

View file

@ -61,7 +61,7 @@ Either use a local database or start the provided development database:
docker-compose -f docker-compose-dev.yml up docker-compose -f docker-compose-dev.yml up
``` ```
Edit `DATABASE_URL` in `.env` file if needed, then initialize the database: Create `server/.env` based on `server/.env.sample` and edit `DATABASE_URL` if needed, then initialize the database:
``` ```
npm run server:db:init npm run server:db:init

1
server/.gitignore vendored
View file

@ -44,6 +44,7 @@
# #
################################################ ################################################
.env
config/local.js config/local.js
################################################ ################################################