Skip to content

Commit

Permalink
update port
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Aug 8, 2022
1 parent 077e1bb commit 8a1b377
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
# pull_policy: always
container_name: smart-server
ports:
- "2001:2001"
- "4132:4132"
# links:
# - db
# depends_on:
Expand All @@ -20,7 +20,7 @@ services:
- DB_PASSWORD=postgres
- DB_NAME=postgres
- SECRET=gitscapstoneproject
- PORT=2001
- PORT=4132
- RESET_TABLES=true
- SEED_TABLES=true
- [email protected]
Expand Down
2 changes: 1 addition & 1 deletion src/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_NAME=postgres
PORT=2001
PORT=4132
SECRET=gitscapstoneproject

RESET_TABLES=true
Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ COPY ./ ./

RUN go build -o ./appbin

EXPOSE 2001
EXPOSE 4132

CMD ["./appbin"]

0 comments on commit 8a1b377

Please sign in to comment.