More integration commits
This commit is contained in:
parent
26f56b2367
commit
10ad5339a4
8
fedilogue/Dockerfile
Normal file
8
fedilogue/Dockerfile
Normal 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
5
restapi/entrypoint.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
sleep 5
|
||||
|
||||
./restapi
|
Loading…
x
Reference in New Issue
Block a user