Skip to content

Commit

Permalink
Debugging part 267
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-brennan2005 committed Jun 11, 2024
1 parent bac596e commit c2cff26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ RUN CGO_ENABLED=0 GOOS=linux go build -v -o ./sac

EXPOSE 8080

CMD ["/sac"]
CMD ["/app/sac"]
2 changes: 1 addition & 1 deletion deployment/init-db.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
~/go/bin/migrate -path ../backend/migrations/ -database postgres://${SAC_DB_USERNAME}:${SAC_DB_PASSWORD}@${SAC_DB_HOST}:${SAC_DB_PORT}/${SAC_DB_NAME}?sslmode=enable -verbose up
~/go/bin/migrate -path ../backend/migrations/ -database postgres://${SAC_DB_USERNAME}:${SAC_DB_PASSWORD}@${SAC_DB_HOST}:${SAC_DB_PORT}/${SAC_DB_NAME}?sslmode=require -verbose up

0 comments on commit c2cff26

Please sign in to comment.