Skip to content

Commit d070a89

Browse files
committed
chore: updated env and docker files
1 parent 926274e commit d070a89

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/tmp

docker-compose.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,5 @@ services:
2525
volumes:
2626
- ./api:/api
2727
environment:
28-
POSTGRES_USER:
29-
POSTGRES_PASSWORD:
30-
POSTGRES_DB:
31-
POSTGRES_HOST:
32-
POSTGRES_PORT:
3328
PORT:
29+
POSTGRES_DSN:

env-example

+3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
GIN_MODE="debug"
22
PORT="8080"
3+
POSTGRES_DSN="postgres://postgres:postgres@db:5432/confesi?sslmode=disable"
34

5+
# for postgres image only
46
POSTGRES_USER="postgres"
57
POSTGRES_PASSWORD="postgres"
68
POSTGRES_DB="confesi"
79
POSTGRES_HOST="db"
810
POSTGRES_PORT="5432"
11+

0 commit comments

Comments
 (0)