Created
December 8, 2020 11:06
-
-
Save ultramarshall/76f4e0f1610112dd3f3ed338e8c35197 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marshall@LAPTOP-EVQ4LJKC:~/bjb/bjb-dev-local$ cat docker-compose.yaml | |
version: '2.2' | |
services: | |
bjbmq: | |
image: registry.bankbjb.co.id/ace-mq:11.0.0.9 | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB | |
- USE_QMGR=true | |
- MQ_QMGR_NAME=BJB.QM | |
- MQ_DEV=true | |
volumes: | |
- ./bjbmq:/home/aceuser/initial-config | |
ports: | |
- '2414:1414' | |
ace-router1: | |
hostname: ace-router1 | |
image: 'registry.bankbjb.co.id/ace-router:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB1 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-router/ACE_ROUTER_APP.yaml:/home/aceuser/ACE_ROUTER_APP.yaml' | |
ports: | |
- '3600:7600' | |
ace-router2: | |
hostname: ace-router2 | |
image: 'registry.bankbjb.co.id/ace-router:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB2 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-router/ACE_ROUTER_APP.yaml:/home/aceuser/ACE_ROUTER_APP.yaml' | |
ports: | |
- '4600:7600' | |
ace-router-data: | |
hostname: ace-router-data | |
image: 'registry.bankbjb.co.id/ace-router-data:latest' | |
depends_on: | |
- redis | |
- postgres | |
- account | |
- param | |
environment: | |
- APP=ace-router-data | |
- NODE_ENV=development | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
ace-router-test: | |
image: 'registry.bankbjb.co.id/ace-router-test:latest' | |
environment: | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_TEST_SERVER2=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './jenkins-config.yaml:/app/jenkins-config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-dummy-core: | |
hostname: ace-dummy-core | |
image: 'registry.bankbjb.co.id/ace-dummy-core:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
ace-dummy-core-test: | |
image: 'registry.bankbjb.co.id/ace-dummy-core-test:latest' | |
environment: | |
- NODE_ENV=test | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-clps-file: | |
image: 'registry.bankbjb.co.id/ace-clps-file:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB | |
- USE_QMGR=true | |
- MQ_QMGR_NAME=BJB.QM | |
- MQ_DEV=true | |
- ENV=development | |
- MQSI_FILENODES_ROOT_DIRECTORY=/home/aceuser/ace-file | |
ports: | |
- '9600:7600' | |
- '9800:7800' | |
- '9843:7843' | |
- '9414:1414' | |
- '9443:9443' | |
extra_hosts: | |
- 'BJBCLPS:192.168.226.42' | |
- 'BJBCORE:192.168.226.1' | |
- 'POSTGRES:10.6.226.85' | |
volumes: | |
- './ace-clps-file/dir-output-backup:/home/aceuser/ace-file/dir-output-backup' | |
- './ace-clps-file/CLPS_FILE_APP.yaml:/home/aceuser/CLPS_FILE_APP.yaml' | |
ace-clps-file-test: | |
image: registry.bankbjb.co.id/ace-clps-file-test | |
environment: | |
- NODE_ENV=test | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-dtf: | |
image: registry.bankbjb.co.id/ace-dtf | |
depends_on: | |
- param | |
- db2 | |
- ftp-server | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB | |
- USE_QMGR=true | |
- MQ_QMGR_NAME=BJB.QM | |
- MQ_DEV=true | |
- MQSI_FILENODES_ROOT_DIRECTORY=/home/aceuser/ace-dtf | |
ports: | |
- '10600:7600' | |
- '10800:7800' | |
- '10843:7843' | |
- '10414:1414' | |
- '10443:9443' | |
volumes: | |
- './log:/home/aceuser/ace-dtf/log' | |
- './config-ace.yaml:/home/aceuser/ace-dtf/config.yaml' | |
ace-dtf-test: | |
image: registry.bankbjb.co.id/ace-dtf-test | |
environment: | |
- NODE_ENV=test | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-instansi1: | |
hostname: ace-instansi1 | |
image: 'registry.bankbjb.co.id/ace-instansi:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB1 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-instansi/ACE_INSTANSI_APP.yaml:/home/aceuser/ACE_INSTANSI_APP.yaml' | |
ports: | |
- '11600:7600' | |
ace-instansi-data: | |
hostname: ace-instansi-data | |
image: 'registry.bankbjb.co.id/ace-instansi-data:latest' | |
depends_on: | |
- redis | |
- postgres | |
- account | |
- param | |
environment: | |
- APP=ace-instansi-data | |
- NODE_ENV=development | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
ace-instansi-test: | |
image: 'registry.bankbjb.co.id/ace-instansi-test:latest' | |
environment: | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_TEST_SERVER2=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-router-http1: | |
hostname: ace-router-http1 | |
image: 'registry.bankbjb.co.id/ace-router-http:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB1 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-router-http/ACE_ROUTER_HTTP_APP.yaml:/home/aceuser/ACE_ROUTER_HTTP_APP.yaml' | |
ports: | |
- '12600:7600' | |
ace-router-http2: | |
hostname: ace-router-http2 | |
image: 'registry.bankbjb.co.id/ace-router-http:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB2 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-router-http/ACE_ROUTER_HTTP_APP.yaml:/home/aceuser/ACE_ROUTER_HTTP_APP.yaml' | |
ports: | |
- '12601:7600' | |
ace-router-http-data: | |
hostname: ace-router-http-data | |
image: 'registry.bankbjb.co.id/ace-router-http-data:latest' | |
depends_on: | |
- redis | |
- postgres | |
- account | |
- param | |
environment: | |
- APP=ace-router-http-data | |
- NODE_ENV=development | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
ace-router-http-test: | |
image: 'registry.bankbjb.co.id/ace-router-http-test:latest' | |
environment: | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_TEST_SERVER2=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './jenkins-config.yaml:/app/jenkins-config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-router-iso1: | |
hostname: ace-router-iso1 | |
image: 'registry.bankbjb.co.id/ace-router-iso8583:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB1 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-router-iso/ACE_ROUTER_ISO8583_APP.yaml:/home/aceuser/ACE_ROUTER_ISO8583_APP.yaml' | |
ports: | |
- '13600:7600' | |
ace-router-iso2: | |
hostname: ace-router-iso2 | |
image: 'registry.bankbjb.co.id/ace-router-iso8583:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB2 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-router-iso/ACE_ROUTER_ISO8583_APP.yaml:/home/aceuser/ACE_ROUTER_ISO8583_APP.yaml' | |
ports: | |
- '13601:7600' | |
ace-router-iso8583-test: | |
image: 'registry.bankbjb.co.id/ace-router-iso8583-test:latest' | |
environment: | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_TEST_SERVER2=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './jenkins-config.yaml:/app/jenkins-config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-generic-mapping-1-1: | |
hostname: ace-generic-mapping-1-1 | |
image: 'registry.bankbjb.co.id/ace-generic-mapping-1-1:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB2 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-generic-mapping-1-1/ACE_GENERIC_MAPPING_1_1_APP.yaml:/home/aceuser/ACE_GENERIC_MAPPING_1_1_APP.yaml' | |
ports: | |
- '13601:7600' | |
ace-generic-mapping-1-1-test: | |
image: 'registry.bankbjb.co.id/ace-generic-mapping-1-1-test:latest' | |
environment: | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_TEST_SERVER2=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './jenkins-config.yaml:/app/jenkins-config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-generic-mapping-1-1-data: | |
hostname: ace-generic-mapping-1-1-data | |
image: 'registry.bankbjb.co.id/ace-generic-mapping-1-1-data:latest' | |
depends_on: | |
- redis | |
- postgres | |
- account | |
- param | |
environment: | |
- APP=ace-generic-mapping-1-1-data | |
- NODE_ENV=development | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
ace-clps-iso1: | |
hostname: ace-clps-iso1 | |
image: 'registry.bankbjb.co.id/ace-clps-iso8583:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB1 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-clps-iso/ACE_CLPS_ISO8583APP.yaml:/home/aceuser/ACE_CLPS_ISO_APP.yaml' | |
ports: | |
- '14600:7600' | |
ace-clps-iso2: | |
hostname: ace-clps-iso2 | |
image: 'registry.bankbjb.co.id/ace-clps-iso8583:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB2 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-clps-iso/ACE_CLPS_ISO8583_APP.yaml:/home/aceuser/ACE_CLPS_ISO_APP.yaml' | |
ports: | |
- '14601:7600' | |
ace-clps-iso-test: | |
image: 'registry.bankbjb.co.id/ace-clps-iso88583-test:latest' | |
environment: | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_TEST_SERVER2=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './jenkins-config.yaml:/app/jenkins-config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
ace-minibanking-iso1: | |
hostname: ace-minibanking-iso1 | |
image: 'registry.bankbjb.co.id/ace-minibanking-iso8583:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB1 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-minibanking-iso/ACE_MINIBANKING_ISO8583_APP.yaml:/home/aceuser/ACE_MINIBANKING_ISO_APP.yaml' | |
ports: | |
- '14600:7600' | |
ace-minibanking-iso2: | |
hostname: ace-minibanking-iso2 | |
image: 'registry.bankbjb.co.id/ace-minibanking-iso8583:latest' | |
environment: | |
- LICENSE=accept | |
- ACE_SERVER_NAME=BJB2 | |
- API_CACHE_EXPIRY=60 | |
- API_CACHE_SIZE=1000000 | |
volumes: | |
- ./default/server.conf.yaml:/home/aceuser/initial-config/serverconf/server.conf.yaml | |
- './ace-minibanking-iso/ACE_MINIBANKING_ISO8583_APP.yaml:/home/aceuser/ACE_MINIBANKING_ISO_APP.yaml' | |
ports: | |
- '14601:7600' | |
ace-minibanking-iso-test: | |
image: 'registry.bankbjb.co.id/ace-minibanking-iso8583-test:latest' | |
environment: | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_TEST_SERVER2=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './jenkins-config.yaml:/app/jenkins-config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
tcpgw-logger: | |
hostname: tcpgw-logger | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-logger-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-server1: | |
hostname: tcpgw-server1 | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
ports: | |
- '7900:8000' | |
- '7902:8001' | |
- '7904:8002' | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-server1-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-server2: | |
hostname: tcpgw-server2 | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
ports: | |
- '7901:8000' | |
- '7903:8001' | |
- '7905:8002' | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-server2-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-core1: | |
hostname: tcpgw-core1 | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-core1-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-core2: | |
hostname: tcpgw-core2 | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-core2-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-http-server1: | |
hostname: tcpgw-http-server1 | |
image: registry.bankbjb.co.id/tcpgateway:latest | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
ports: | |
- '7920:8003' | |
- '7921:8004' | |
- '7922:8005' | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-http-server1-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-http-server2: | |
hostname: tcpgw-http-server2 | |
image: registry.bankbjb.co.id/tcpgateway:latest | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
- SANDBOX=true | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-http-server2-config.yaml:/app/tcpgateway/config.yaml' | |
ports: | |
- '7923:8003' | |
- '7924:8004' | |
- '7925:8005' | |
tcpgw-dummy-core: | |
hostname: tcpgw-dummy-core | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
ports: | |
- '7910:8003' | |
- '7912:8004' | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-dummy-core-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-iso-server1: | |
hostname: tcpgw-iso-server1 | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
ports: | |
- '7950:8000' | |
- '7954:8001' | |
- '7952:8004' | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-iso-server1-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-iso-server2: | |
hostname: tcpgw-iso-server2 | |
image: 'registry.bankbjb.co.id/tcpgateway:latest' | |
environment: | |
- ENV=DEV | |
- LOGGER=PRETTY | |
# - JAVA_OPTS=-Xms64m -Xmx256m | |
ports: | |
- '7951:8000' | |
- '7955:8001' | |
- '7953:8004' | |
volumes: | |
- './log:/app/tcpgateway/log' | |
- './tcpgw-iso-server2-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-test: | |
hostname: tcpgw-test | |
image: 'registry.bankbjb.co.id/tcpgateway-test:latest' | |
environment: | |
- ENV=DEV | |
volumes: | |
- './jenkins-config.yaml:/app/tcpgateway/config.yaml' | |
tcpgw-stress: | |
hostname: tcpgw-stress | |
image: 'registry.bankbjb.co.id/tcpgw-stress:latest' | |
environment: | |
- ENV=DEV | |
volumes: | |
- './jenkins-config.yaml:/app/tcpgateway/config.yaml' | |
redis: | |
image: 'redis:4.0.9-alpine' | |
ports: | |
- '6379:6379' | |
postgres: | |
image: 'postgres:13-alpine' | |
environment: | |
- POSTGRES_USER=mwui | |
- POSTGRES_PASSWORD=dodol123 | |
ports: | |
- '6086:5432' | |
volumes: | |
- 'postgres-data:/var/lib/postgresql/data' | |
adminer: | |
image: 'adminer:4.7.7-standalone' | |
depends_on: | |
- postgres | |
ports: | |
- '6087:8080' | |
ftp-server: | |
image: stilliard/pure-ftpd | |
ports: | |
- '6021:21' | |
- '10000-10009:10000-10009' | |
expose: | |
- 10000-10009 | |
environment: | |
- FTP_USER_NAME=bjb | |
- FTP_USER_PASS=dodol123 | |
- FTP_USER_HOME=/home/bjb/ | |
- 'FTP_PASSIVE_PORTS=10000:10009' | |
- ADDED_FLAGS=-d -d | |
ftp-server-data: | |
image: registry.bankbjb.co.id/ace-ftp-data | |
proxy: | |
image: registry.bankbjb.co.id/proxy:latest | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './module.yaml:/app/dist/config/module.yaml' | |
ports: | |
- '6080:3000' | |
proxy-sandbox: | |
image: registry.bankbjb.co.id/proxy:latest | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './module-sandbox.yaml:/app/dist/config/module.yaml' | |
ports: | |
- '6082:3000' | |
proxy-sso: | |
image: 'registry.bankbjb.co.id/proxy:latest' | |
ports: | |
- '6060:3000' | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './module-oauth.yaml:/app/dist/config/module.yaml' | |
dummy-web: | |
image: 'docker/getting-started:latest' | |
ports: | |
- '6061:80' | |
account: | |
hostname: account1 | |
image: 'registry.bankbjb.co.id/account:latest' | |
depends_on: | |
- redis | |
- postgres | |
- proxy | |
- proxy-sso | |
- dummy-web | |
environment: | |
- APP=account | |
- NODE_ENV=development | |
ports: | |
- '6001:3000' | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
account-sandbox: | |
hostname: account-sandbox | |
image: 'registry.bankbjb.co.id/account:latest' | |
depends_on: | |
- redis | |
- postgres | |
- proxy | |
- proxy-sandbox | |
- proxy-sso | |
- dummy-web | |
environment: | |
- APP=account | |
- NODE_ENV=development | |
- SANDBOX=true | |
ports: | |
- '6003:3000' | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
account-test: | |
image: 'registry.bankbjb.co.id/account:latest' | |
depends_on: | |
- account | |
- account-sandbox | |
environment: | |
- APP=account | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_UIM=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
working_dir: /app | |
command: | |
- npx | |
- mocha | |
- '-r' | |
- ts-node/register | |
- '-b' | |
- '--color' | |
- '-t' | |
- '90000' | |
- test/**/*.spec.ts | |
param: | |
hostname: param | |
image: 'registry.bankbjb.co.id/param:latest' | |
depends_on: | |
- redis | |
- postgres | |
- proxy | |
- proxy-sso | |
- dummy-web | |
environment: | |
- APP=param | |
- NODE_ENV=development | |
ports: | |
- '6002:3000' | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
param-test: | |
image: 'registry.bankbjb.co.id/param:latest' | |
depends_on: | |
- account | |
- param | |
environment: | |
- APP=param | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_UIM=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
working_dir: /app | |
command: | |
- npx | |
- mocha | |
- '-r' | |
- ts-node/register | |
- '-b' | |
- '--color' | |
- '-t' | |
- '90000' | |
- test/**/*.spec.ts | |
param-router: | |
hostname: param-router | |
image: 'registry.bankbjb.co.id/param-router:latest' | |
depends_on: | |
- redis | |
- postgres | |
- proxy | |
- proxy-sso | |
- dummy-web | |
environment: | |
- APP=param-router | |
- NODE_ENV=development | |
ports: | |
- '6005:3000' | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
param-router-test: | |
image: 'registry.bankbjb.co.id/param-router:latest' | |
depends_on: | |
- account | |
- param | |
environment: | |
- APP=param | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_UIM=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
working_dir: /app | |
command: | |
- npx | |
- mocha | |
- '-r' | |
- ts-node/register | |
- '-b' | |
- '--color' | |
- '-t' | |
- '90000' | |
- test/**/*.spec.ts | |
param-mapping: | |
hostname: param-mapping | |
image: 'registry.bankbjb.co.id/param-mapping:latest' | |
depends_on: | |
- redis | |
- postgres | |
- proxy | |
- proxy-sso | |
- dummy-web | |
environment: | |
- APP=param-mapping | |
- NODE_ENV=development | |
ports: | |
- '6007:3000' | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
param-mapping-test: | |
image: 'registry.bankbjb.co.id/param-mapping:latest' | |
depends_on: | |
- account | |
- param | |
environment: | |
- APP=param | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_UIM=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
working_dir: /app | |
command: | |
- npx | |
- mocha | |
- '-r' | |
- ts-node/register | |
- '-b' | |
- '--color' | |
- '-t' | |
- '90000' | |
- test/**/*.spec.ts | |
param-instansi: | |
hostname: param-instansi | |
image: 'registry.bankbjb.co.id/param-instansi:latest' | |
depends_on: | |
- redis | |
- postgres | |
- proxy | |
- proxy-sso | |
- dummy-web | |
environment: | |
- APP=param-instansi | |
- NODE_ENV=development | |
ports: | |
- '6006:3000' | |
volumes: | |
- './config.yaml:/app/dist/config/config.yaml' | |
- './log:/app/log' | |
param-instansi-test: | |
image: 'registry.bankbjb.co.id/param-instansi:latest' | |
depends_on: | |
- account | |
- param | |
environment: | |
- APP=param | |
- NODE_ENV=test | |
- LOCAL_TEST=1 | |
- SKIP_UIM=1 | |
volumes: | |
- './config-test.yaml:/app/config.yaml' | |
- './module.yaml:/app/module.yaml' | |
- './log:/app/log' | |
working_dir: /app | |
command: | |
- npx | |
- mocha | |
- '-r' | |
- ts-node/register | |
- '-b' | |
- '--color' | |
- '-t' | |
- '90000' | |
- test/**/*.spec.ts | |
mwui: | |
image: 'registry.bankbjb.co.id/bjb-mwui:latest' | |
ports: | |
- '6081:80' | |
depends_on: | |
- redis | |
- postgres | |
- proxy | |
- proxy-sso | |
- dummy-web | |
- account | |
- param | |
db2: | |
image: ibmcom/db2 | |
privileged: true | |
volumes: | |
- '/home/ubuntu/DB2/:/database' | |
ports: | |
- '50003:50000' | |
environment: | |
DB2INST1_PASSWORD: password | |
LICENSE: accept | |
DBNAME: testdb | |
volumes: | |
postgres-data: | |
driver: local | |
networks: | |
default: | |
ipam: | |
config: | |
- subnet: 172.16.57.0/16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment