More integration commits

This commit is contained in:
Farhan Khan 2021-03-17 23:15:09 +00:00
parent 26f56b2367
commit 10ad5339a4
2 changed files with 13 additions and 0 deletions

8
fedilogue/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM golang:alpine
COPY . /app
WORKDIR /app
RUN apk add postgresql-client
RUN go build .
ENV DATABASE_URL "postgres://fedilogue:fedilogue@db/fedilogue"
ENV PGPASSWORD "fedilogue"
ENTRYPOINT ["./entrypoint.sh"]

5
restapi/entrypoint.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
sleep 5
./restapi