Last active
September 7, 2017 21:15
-
-
Save jimklo/3beadc9e927e7e67ed00e2ad56e43df4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Started with command: | |
WILDFLY_MGMT_PORT=9980 SFWEB_HTTP_PORT=9080 HTTP_PORT=9080 MGMT_PORT=9980 docker-compose -f rhel-test/docker-compose.yaml start | |
$ docker ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
fcae22fa4144 sunflower-docker.cse.sri.com/rhel-sfweb:latest "/opt/bin/entrypoint-" 2 hours ago Up 2 minutes 0.0.0.0:9080->9090/tcp, 0.0.0.0:9980->9990/tcp rheltest_sfweb_1 | |
155206af2f03 sunflower-docker.cse.sri.com/rhel-floradb:latest "/entrypoint.sh mysql" 2 hours ago Up 2 minutes 3306/tcp, 33060/tcp rheltest_db_1 |
This file contains hidden or 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
version: '2.1' | |
services: | |
sfweb: | |
image: sunflower-docker.cse.sri.com/rhel-sfweb:latest | |
build: ../rhel-sfweb | |
ports: | |
- ${SFWEB_HTTP_PORT:-9090}:${HTTP_PORT:-9090} | |
- ${WILDFLY_MGMT_PORT:-9990}:${MGMT_PORT:-9990} | |
links: | |
- db | |
- db:floradb | |
environment: | |
MYSQL_SERVER: floradb | |
WILDFLY_ADMIN_PASSWORD: supersekret | |
# WILDFLY_RANDOM_ADMIN_PASSWORD: true | |
# MYSQL_USER: "$MYSQL_USER" | |
# MYSQL_PASSWORD: "$MYSQL_PASSWORD" | |
# MYSQL_DATABASE: "$MYSQL_DATABASE" | |
HTTP_PORT: ${HTTP_PORT:-9090} | |
MGMT_PORT: ${MGMT_PORT:-9990} | |
restart: unless-stopped | |
depends_on: | |
- db | |
db: | |
image: sunflower-docker.cse.sri.com/rhel-floradb:latest | |
build: ../rhel-floradb | |
# environment: | |
# MYSQL_USER: "$MYSQL_USER" | |
# MYSQL_PASSWORD: "$MYSQL_PASSWORD" | |
# MYSQL_DATABASE: "$MYSQL_DATABASE" | |
# MYSQL_ROOT_PASSWORD: "$MYSQL_ROOT_PASSWORD" | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment