We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 926274e commit d070a89Copy full SHA for d070a89
.dockerignore
@@ -0,0 +1 @@
1
+/tmp
docker-compose.yml
@@ -25,9 +25,5 @@ services:
25
volumes:
26
- ./api:/api
27
environment:
28
- POSTGRES_USER:
29
- POSTGRES_PASSWORD:
30
- POSTGRES_DB:
31
- POSTGRES_HOST:
32
- POSTGRES_PORT:
33
PORT:
+ POSTGRES_DSN:
env-example
@@ -1,8 +1,11 @@
GIN_MODE="debug"
2
PORT="8080"
3
+POSTGRES_DSN="postgres://postgres:postgres@db:5432/confesi?sslmode=disable"
4
5
+# for postgres image only
6
POSTGRES_USER="postgres"
7
POSTGRES_PASSWORD="postgres"
8
POSTGRES_DB="confesi"
9
POSTGRES_HOST="db"
10
POSTGRES_PORT="5432"
11
+
0 commit comments