Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
totframework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mbdk-tot
totframework
Commits
db1e4875
Commit
db1e4875
authored
May 27, 2025
by
Mohd Asrol Shahariwan Ahmad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docker-compose-frame.yml
parent
432fcc59
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
151 additions
and
151 deletions
+151
-151
docker-compose-frame.yml
docker-compose-frame.yml
+151
-151
No files found.
docker-compose-frame.yml
View file @
db1e4875
...
...
@@ -34,27 +34,27 @@ services:
-
APP_INTERNAL_PORT=9010
-
SB_CONFIG_ADDRESS=econfigservice
-
SB_CONFIG_PORT=9002
redis
:
image
:
redis
restart
:
always
command
:
[
"
redis-server"
,
"
--appendonly"
,
"
yes"
]
ports
:
-
9012:6379
networks
:
-
skbframework_skb-net
hostname
:
redis
container_name
:
redis
volumes
:
-
redis_data:/data
rabbitmq
:
image
:
rabbitmq:3-management
restart
:
always
ports
:
-
15672:15672
-
5672:5672
networks
:
-
skbframework_skb-net
container_name
:
rabbitmq
#
redis:
#
image: redis
#
restart: always
#
command: ["redis-server", "--appendonly", "yes"]
#
ports:
#
- 9012:6379
#
networks:
#
- skbframework_skb-net
#
hostname: redis
#
container_name: redis
#
volumes:
#
- redis_data:/data
#
rabbitmq:
#
image: rabbitmq:3-management
#
restart: always
#
ports:
#
- 15672:15672
#
- 5672:5672
#
networks:
#
- skbframework_skb-net
#
container_name: rabbitmq
i18nservice
:
image
:
repo.cybersolution.com.my:9005/skb/i18nservice:1.1.4
...
...
@@ -123,122 +123,122 @@ services:
source
:
./https/cert.key
target
:
/etc/nginx/cert.key
############# KONG Config #############
postgreskong
:
image
:
postgres:9-alpine
restart
:
always
healthcheck
:
test
:
[
"
CMD"
,
"
pg_isready"
,
"
-U"
,
"
kong"
]
interval
:
30s
timeout
:
30s
retries
:
3
# postgreskong:
# image: postgres:9-alpine
# restart: always
# healthcheck:
# test: ["CMD", "pg_isready", "-U", "kong"]
# interval: 30s
# timeout: 30s
# retries: 3
# # ports:
# # - 9020:5432
# networks:
# - skbframework_skb-net
# hostname: postgreskong
# container_name: postgreskong
# volumes:
# - postgreskong_data:/var/lib/postgresql/data
# environment:
# - POSTGRES_DB=kong
# - POSTGRES_PASSWORD=kong
# - POSTGRES_USER=kong
# kongmigration:
# image: kong:1.2.1-alpine
# hostname: kongmigration
# container_name: kongmigration
# command: kong migrations bootstrap
# networks:
# - skbframework_skb-net
# depends_on:
# - postgreskong
# environment:
# - KONG_DATABASE=postgres
# - KONG_PG_DATABASE=kong
# - KONG_PG_HOST=postgreskong
# - KONG_PG_PASSWORD=kong
# - KONG_PG_USER=kong
# kong:
# image: kong:1.2.1-alpine
# hostname: kong
# container_name: kong
# restart: always
# healthcheck:
# test: ["CMD", "kong", "health"]
# interval: 10s
# timeout: 10s
# retries: 10
# ports:
# - 9020:5432
networks
:
-
skbframework_skb-net
hostname
:
postgreskong
container_name
:
postgreskong
volumes
:
-
postgreskong_data:/var/lib/postgresql/data
environment
:
-
POSTGRES_DB=kong
-
POSTGRES_PASSWORD=kong
-
POSTGRES_USER=kong
kongmigration
:
image
:
kong:1.2.1-alpine
hostname
:
kongmigration
container_name
:
kongmigration
command
:
kong migrations bootstrap
networks
:
-
skbframework_skb-net
depends_on
:
-
postgreskong
environment
:
-
KONG_DATABASE=postgres
-
KONG_PG_DATABASE=kong
-
KONG_PG_HOST=postgreskong
-
KONG_PG_PASSWORD=kong
-
KONG_PG_USER=kong
kong
:
image
:
kong:1.2.1-alpine
hostname
:
kong
container_name
:
kong
restart
:
always
healthcheck
:
test
:
[
"
CMD"
,
"
kong"
,
"
health"
]
interval
:
10s
timeout
:
10s
retries
:
10
ports
:
-
8000:8000
# proxy
-
8443:8443
# proxy ssl
-
9017:8001
# admin api
-
9018:8444
# admin api ssl
networks
:
-
skbframework_skb-net
depends_on
:
-
postgreskong
volumes
:
-
type
:
bind
source
:
./https/cert.crt
target
:
/cert.crt
-
type
:
bind
source
:
./https/cert.key
target
:
/cert.key
environment
:
-
KONG_SSL_CERT=cert.crt
-
KONG_SSL_CERT_KEY=cert.key
-
KONG_ADMIN_SSL_CERT=cert.crt
-
KONG_ADMIN_SSL_CERT_KEY=cert.key
-
KONG_DATABASE=postgres
-
KONG_PG_DATABASE=kong
-
KONG_PG_HOST=postgreskong
-
KONG_PG_PASSWORD=kong
-
KONG_PG_USER=kong
-
KONG_PROXY_LISTEN=0.0.0.0:8000, 0.0.0.0:8443 http2 ssl
-
KONG_PROXY_ACCESS_LOG=/dev/stdout
-
KONG_PROXY_ERROR_LOG=/dev/stderr
-
KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 http2 ssl
-
KONG_ADMIN_ACCESS_LOG=/dev/stdout
-
KONG_ADMIN_ERROR_LOG=/dev/stderr
# - 8000:8000 # proxy
# - 8443:8443 # proxy ssl
# - 9017:8001 # admin api
# - 9018:8444 # admin api ssl
# networks:
# - skbframework_skb-net
# depends_on:
# - postgreskong
# volumes:
# - type: bind
# source: ./https/cert.crt
# target: /cert.crt
# - type: bind
# source: ./https/cert.key
# target: /cert.key
# environment:
# - KONG_SSL_CERT=cert.crt
# - KONG_SSL_CERT_KEY=cert.key
# - KONG_ADMIN_SSL_CERT=cert.crt
# - KONG_ADMIN_SSL_CERT_KEY=cert.key
# - KONG_DATABASE=postgres
# - KONG_PG_DATABASE=kong
# - KONG_PG_HOST=postgreskong
# - KONG_PG_PASSWORD=kong
# - KONG_PG_USER=kong
# - KONG_PROXY_LISTEN=0.0.0.0:8000, 0.0.0.0:8443 http2 ssl
# - KONG_PROXY_ACCESS_LOG=/dev/stdout
# - KONG_PROXY_ERROR_LOG=/dev/stderr
# - KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 http2 ssl
# - KONG_ADMIN_ACCESS_LOG=/dev/stdout
# - KONG_ADMIN_ERROR_LOG=/dev/stderr
############# KONGA Config #############
konga
:
image
:
pantsel/konga:0.14.4
hostname
:
konga
container_name
:
konga
restart
:
always
# ports:
# - 9019:1337
networks
:
-
skbframework_skb-net
depends_on
:
# - kong
-
kongaprepare
volumes
:
-
konga_data:/app/kongadata
environment
:
-
BASE_URL=/konga/
-
DB_ADAPTER=postgres
-
DB_HOST=postgreskong
-
DB_USER=kong
-
DB_PASSWORD=kong
-
DB_DATABASE=kongadb
-
KONGA_HOOK_TIMEOUT=120000
-
NODE_ENV=production
kongaprepare
:
image
:
pantsel/konga
hostname
:
kongaprepare
container_name
:
kongaprepare
command
:
-c prepare -a postgres -u postgresql://kong:kong@postgreskong:5432/kongadb
networks
:
-
skbframework_skb-net
depends_on
:
-
postgreskong
environment
:
-
DB_ADAPTER=postgres
-
DB_HOST=postgreskong
-
DB_USER=kong
-
DB_PASSWORD=kong
-
DB_DATABASE=kongdb
#
konga:
#
image: pantsel/konga:0.14.4
#
hostname: konga
#
container_name: konga
#
restart: always
#
# ports:
#
# - 9019:1337
#
networks:
#
- skbframework_skb-net
#
depends_on:
#
# - kong
#
- kongaprepare
#
volumes:
#
- konga_data:/app/kongadata
#
environment:
#
- BASE_URL=/konga/
#
- DB_ADAPTER=postgres
#
- DB_HOST=postgreskong
#
- DB_USER=kong
#
- DB_PASSWORD=kong
#
- DB_DATABASE=kongadb
#
- KONGA_HOOK_TIMEOUT=120000
#
- NODE_ENV=production
#
kongaprepare:
#
image: pantsel/konga
#
hostname: kongaprepare
#
container_name: kongaprepare
#
command: -c prepare -a postgres -u postgresql://kong:kong@postgreskong:5432/kongadb
#
networks:
#
- skbframework_skb-net
#
depends_on:
#
- postgreskong
#
environment:
#
- DB_ADAPTER=postgres
#
- DB_HOST=postgreskong
#
- DB_USER=kong
#
- DB_PASSWORD=kong
#
- DB_DATABASE=kongdb
############# Portainer Config #############
portainer
:
...
...
@@ -254,22 +254,22 @@ services:
volumes
:
-
/var/run/docker.sock:/var/run/docker.sock
-
portainer_data:/data
data-api
:
image
:
repo.cybersolution.com.my:9005/ctsb.io/data-api:1.0.0
restart
:
always
ports
:
-
5051:8080
networks
:
-
skbframework_skb-net
hostname
:
data-api
container_name
:
data-api
environment
:
TZ
:
Asia/Kuala_Lumpur
MYSQL_HOST
:
172.16.0.67
MYSQL_PORT
:
3306
MYSQL_USER
:
root
MYSQL_PASSWORD
:
Dar3D3^1L
SPRING_WEBFLUX_BASE_PATH
:
/data-api
#
data-api:
#
image: repo.cybersolution.com.my:9005/ctsb.io/data-api:1.0.0
#
restart: always
#
ports:
#
- 5051:8080
#
networks:
#
- skbframework_skb-net
#
hostname: data-api
#
container_name: data-api
#
environment:
#
TZ: Asia/Kuala_Lumpur
#
MYSQL_HOST: 172.16.0.67
#
MYSQL_PORT: 3306
#
MYSQL_USER: root
#
MYSQL_PASSWORD: Dar3D3^1L
#
SPRING_WEBFLUX_BASE_PATH: /data-api
volumes
:
redis_data
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment