Skip to content

Commit

Permalink
Merge pull request #46 from metakgp/upload-endpoint
Browse files Browse the repository at this point in the history
fix: mega giga fixes
  • Loading branch information
rajivharlalka authored May 9, 2024
2 parents 9bfc6e8 + 30a4607 commit b9510e3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .env.template

This file was deleted.

6 changes: 5 additions & 1 deletion backend/.env.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
DB_PATH=/db/iqps.db
STATIC_FILES_URL=https://static.metakgp.org
DB_NAME=
DB_HOST=
DB_PORT=
DB_USER=
DB_PASSWORD=
QPS_PATH=
3 changes: 0 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ RUN chmod +x /postinstall.sh
# Copy the binary from the builder
COPY --from=builder /app /app

# Copy .env file
COPY .env /

# Run postinstall script and the binary
CMD ["/postinstall.sh", "/app"]
7 changes: 7 additions & 0 deletions backend/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ services:
- ./db:/db
- nginx-config-volume:/etc/nginx/sites-enabled
- odins-vault:/srv/static
environment:
- STATIC_FILES_URL=${STATIC_FILES_URL}
- DB_NAME=${DB_NAME}
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_USER=${DB_PASSWORD}
- QPS_PATH=${QPS_PATH}

networks:
metaploy-network:
Expand Down

0 comments on commit b9510e3

Please sign in to comment.