forked from StampWallet/backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
37 lines (36 loc) · 923 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "3.9"
networks:
internal:
services:
backend:
build:
context: .
image: ghcr.io/stampwallet/backend:latest
networks:
- internal
depends_on:
- postgres
ports:
- 8080:8080
environment:
#GIN_MODE: release
STAMPWALLET_DATABASEURL: 'postgresql://postgres@postgres/stampwallet'
STAMPWALLET_EMAILVERIFICATIONFRONTENDURL:
STAMPWALLET_SERVERURL: 0.0.0.0:8080
STAMPWALLET_SMTPCONFIG_SERVERHOSTNAME: smtp.gmail.com
STAMPWALLET_SMTPCONFIG_SERVERPORT: 465
STAMPWALLET_SMTPCONFIG_USERNAME:
STAMPWALLET_SMTPCONFIG_PASSWORD:
STAMPWALLET_SMTPCONFIG_SENDEREMAIL:
STAMPWALLET_STORAGEPATH: /storage/
volumes:
- storage:/storage/
postgres:
image: 'postgis/postgis'
networks:
- internal
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: stampwallet
volumes:
storage: