Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from brittonhayes/fix/issue-1
Browse files Browse the repository at this point in the history
fix: issue 1
  • Loading branch information
brittonhayes committed Jan 29, 2022
2 parents b9a0d7f + be16971 commit 47ca159
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 40 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ ARG READONLY_USER
ARG PGDATABASE
ARG PGHOST
ARG PGPASSWORD
ARG PGPORT
ARG PGPORT
ARG PGUSER

ARG PORT
ARG BOT_TOKEN
ENV BOT_TOKEN ${BOT_TOKEN}
ENV PORT ${PORT}

EXPOSE 3000:3000
Expand Down
4 changes: 3 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ version: "2"
services:
grpc:
build: .
environment:
PORT: 3000
ports:
- "3000:3000"
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_PASSWORD: postgres
3 changes: 1 addition & 2 deletions internal/service/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ type Server struct {

func New(host string) *Server {
return &Server{
host: host,
session: setupSession(),
host: host,
}
}

Expand Down
34 changes: 0 additions & 34 deletions internal/service/session.go

This file was deleted.

0 comments on commit 47ca159

Please sign in to comment.