-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (63 loc) · 1.55 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.6'
networks:
pg:
name: pg
driver: bridge
ipam:
config:
- subnet: 192.168.222.0/24
services:
# postgresql:
# image: docker.io/bitnami/postgresql:13
# container_name: postgres
# volumes:
# - postgresql_data:/bitnami/postgresql
# - /etc/timezone:/etc/timezone:ro
# - /etc/localtime:/etc/localtime:ro
# environment:
# PUID: ${PUID:-1000}
# PGID: ${PGID:-998}
# TZ: ${TZ:-America/New_York}
# POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
# POSTGRES_DB: ${POSTGRES_DB:-yaba}
# POSTGRES_USER: ${POSTGRES_USER:-yaba}
# APP_SECRET: ${APP_SECRET}
# restart: always
# logging:
# options:
# max-size: "50m"
# networks:
# pg:
# ipv4_address: 192.168.222.251
# ports:
# - "5435:5432"
# security_opt:
# - no-new-privileges:true
yaba-server:
container_name: yabaServer
image: yaba-server:0.1.17-SNAPSHOT
network_mode: host
security_opt:
- no-new-privileges:true
restart: always
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
logging:
options:
max-size: "50m"
#volumes:
# postgresql_data:
# driver: local
#networks:
# pg:
# external: true