-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-server.yml
48 lines (44 loc) · 1.08 KB
/
docker-compose-server.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3.6'
#networks:
# pg:
# name: pg
# driver: bridge
# ipam:
# config:
# - subnet: 192.168.222.0/24
services:
yaba-server:
container_name: yabaServerOnly
image: openjdk:16
network_mode: host
security_opt:
- no-new-privileges:true
restart: always
ports:
- "9050:9050"
environment:
TZ: ${TZ}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_HOST: ${POSTGRES_HOST}
PLAID_CLIENT_ID: ${PLAID_CLIENT_ID}
PLAID_SECRET: ${PLAID_SECRET}
PLAID_BASE_URL: ${PLAID_BASE_URL}
WEBHOOK_URL: ${WEBHOOK_URL}
APP_SECRET: ${APP_SECRET}
SPRING_PROFILES_ACTIVE: prod
volumes:
- "./application/build/libs/application-0.1.17-SNAPSHOT.jar:/app.jar"
command: [ 'java', '-jar', '/app.jar' ]
logging:
options:
max-size: "50m"
ngrok:
container_name: ngrok
build: ./ngrok
network_mode: host
image: yaba-ngrok:1.0.0
command: [ "ngrok", "start","yaba" ]
ports:
- "4040:4040"