chore: add example .env

This commit is contained in:
Alexander Navarro 2025-02-05 19:09:17 -03:00
parent 9194eccab9
commit e2a6c92322
2 changed files with 5 additions and 1 deletions

5
.env.example Normal file
View file

@ -0,0 +1,5 @@
POSTGRES_DB=index
POSTGRES_USER=index
POSTGRES_PASSWORD=
DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?sslmode=disable"

View file

@ -2,7 +2,6 @@ FROM ghcr.io/linuxcontainers/debian-slim:latest
COPY --from=ghcr.io/amacneil/dbmate /usr/local/bin/dbmate /usr/local/bin/dbmate
COPY --from=lovasoa/sqlpage:latest /usr/local/bin/sqlpage /usr/local/bin/sqlpage
COPY --from=lovasoa/sqlpage:latest /lib/libgcc_s.so.1 /lib/libgcc_s.so.1
WORKDIR /app