-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from Chathuratharushka/UK-toolkit
[UK] Add all the dockerfiles and docker-compose files for the uk-toolkit.
- Loading branch information
Showing
18 changed files
with
5,114 additions
and
56 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# ---------------------------------------------------------------------------------------- | ||
# | ||
# Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com). All Rights Reserved. | ||
# | ||
# This software is the property of WSO2 LLC. and its suppliers, if any. | ||
# Dissemination of any information or reproduction of any material contained | ||
# herein in any form is strictly forbidden, unless permitted by WSO2 expressly. | ||
# You may not alter or remove any copyright or other notice from copies of this content. | ||
# | ||
# ---------------------------------------------------------------------------------------- | ||
|
||
version: "3.7" | ||
services: | ||
|
||
mysql: | ||
container_name: mysql | ||
image: mysql:5.7.24 | ||
ports: | ||
- "3306" | ||
environment: | ||
MYSQL_ROOT_PASSWORD: root | ||
volumes: | ||
- "./mysql/scripts/setup.sql:/docker-entrypoint-initdb.d/setup.sql" | ||
- "./mysql/scripts/my.cnf:/etc/mysql/my.cnf" | ||
ulimits: | ||
nofile: | ||
soft: 20000 | ||
hard: 40000 | ||
command: [--ssl=0] | ||
healthcheck: | ||
test: ["CMD", "mysqladmin" ,"ping", "-uroot", "-proot"] | ||
interval: 10s | ||
timeout: 10s | ||
retries: 5 | ||
start_period: 30s | ||
networks: | ||
- ob-network | ||
|
||
obiam: | ||
container_name: obiam | ||
image: docker.wso2.com/wso2-obiam-uk | ||
healthcheck: | ||
test: ["CMD", "curl", "-k", "-f", "https://localhost:9446/carbon/admin/login.jsp"] | ||
interval: 10s | ||
timeout: 120s | ||
start_period: 100s | ||
retries: 5 | ||
depends_on: | ||
- "mysql" | ||
volumes: | ||
- "./wait-for-it.sh:/home/wso2carbon/wait-for-it.sh" | ||
ports: | ||
- "9446:9446" | ||
entrypoint: | ||
- "/home/wso2carbon/wait-for-it.sh" | ||
- "mysql:3306" | ||
- "-t" | ||
- "200" | ||
- "--" | ||
- "./docker-entrypoint.sh" | ||
networks: | ||
- ob-network | ||
|
||
obam: | ||
container_name: obam | ||
image: docker.wso2.com/wso2-obam-uk | ||
healthcheck: | ||
test: ["CMD", "curl", "-k", "-f", "https://localhost:9443/carbon/admin/login.jsp"] | ||
interval: 10s | ||
timeout: 10s | ||
start_period: 150s | ||
retries: 5 | ||
depends_on: | ||
- "mysql" | ||
- "obiam" | ||
volumes: | ||
- "./wait-for-it.sh:/home/wso2carbon/wait-for-it.sh" | ||
ports: | ||
- "9443:9443" | ||
- "8243:8243" | ||
- "8280:8280" | ||
entrypoint: | ||
- "/home/wso2carbon/wait-for-it.sh" | ||
- "obiam:9446" | ||
- "-t" | ||
- "300" | ||
- "--" | ||
- "./docker-entrypoint.sh" | ||
networks: | ||
- ob-network | ||
|
||
networks: | ||
ob-network: | ||
driver: bridge | ||
name: ob-network |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
!includedir /etc/mysql/conf.d/ | ||
!includedir /etc/mysql/mysql.conf.d/ | ||
[mysqld] | ||
max_connections=1000 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'; |
Oops, something went wrong.