forked from prageethsudesh/siteminder-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
29 lines (28 loc) · 861 Bytes
/
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
siteminder_tomcat:
build: ./docker/tomcat
container_name: siteminder_tomcat
env_file:
- ./.env
volumes:
- "${LOCAL_API_WAR_DIR_PATH}:${TARGET_DOCKER_TOMCAT_API_WAR_PATH}"
- "${LOCAL_SAAS_WAR_DIR_PATH}:${TARGET_DOCKER_TOMCAT_SAAS_WAR_PATH}"
links:
- siteminder_mysql:localhost
ports:
- 8080:8080
- 8787:8787
environment:
- JAVA_OPTS=-Xms128m -Xmx1024m -XX:MaxPermSize=256m -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n -DdeployProfile=${DEPLOY_PROFILE}
siteminder_mysql:
build: ./docker/mysql
container_name: siteminder_mysql
env_file:
- ./.env
ports:
- 3306:3306
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
MYSQL_ROOT_PASSWORD: ${MYSQL_DB_ROOT_PWD}
MYSQL_DATABASE: ${MYSQL_BACKEND_DB_NAME}
MYSQL_USER: ${MYSQL_DB_USER}
MYSQL_PASSWORD: ${MYSQL_DB_PWD}