From 7257684d192e8359c46da5f189ae433a388fefcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Tue, 25 May 2021 21:11:14 +0200 Subject: [PATCH] qovery config --- .qovery.yml | 24 +++++++++--------------- Dockerfile | 2 +- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.qovery.yml b/.qovery.yml index cb18619..989d7d3 100644 --- a/.qovery.yml +++ b/.qovery.yml @@ -1,23 +1,17 @@ --- application: - name: "wallet-go-api" - - project: "wallet-api" - - organization: "QoveryCommunity" + name: wallet-go-api + project: wallet-api + organization: QoveryCommunity databases: - - type: "POSTGRESQL" - - name: "wallet" - - version: "12" + - type: POSTGRESQL + name: wallet + version: 12 routers: - - name: "main-wallet-go-api" - + - name: main-wallet-go-api routes: - - application_name: "wallet-go-api" - + - application_name: wallet-go-api paths: - - "/*" + - / diff --git a/Dockerfile b/Dockerfile index b88aff1..cea1b31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ WORKDIR /app COPY --from=builder /app/bin/migrate /usr/bin/ COPY --from=builder /app/bin/api /usr/bin/ -EXPOSE ${PORT} +EXPOSE 80 CMD ["migrate"] ENTRYPOINT ["api"]