-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (29 loc) · 976 Bytes
/
docker-compose.yml
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
version: '3.5'
services:
db:
container_name: payment-client-postgresql
image: postgres:10-alpine
restart: unless-stopped
# volumes:
# - .db/:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=test
- POSTGRES_PASSWORD=test
ports:
- 5432:5432
app:
container_name: vas-public-payment-api-client
image: vas-public-payment-api-client
restart: unless-stopped
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/postgres
- VAS_PAYMENT_SERVER_API_URL=https://stage-evc.payex.com/payment-api/api/payments
- VAS_AUTH_SERVER_URL=https://stage-evc.payex.com/authorization/oauth/token
- CLIENT_ID=systemtest
- CLIENT_SECRET=systemtest
- API_KEY=Systemtest
- API_SECRET=Systemtest
ports:
- 8080:8080
depends_on:
- db