Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
added mysql dependency container so you can run this standalone
- Loading branch information
James Babb
committed
Nov 22, 2017
1 parent
33ba909
commit b677c41
Showing
14 changed files
with
47 additions
and
6 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/bin/sh | ||
# | ||
# build.sh, DESCRIPTION | ||
# | ||
# | ||
docker build -t midpoint-poc-midpoint . | ||
#!/bin/bash | ||
|
||
# Depedency containers | ||
docker build deps/mysql -t midpoint-poc-mysql | ||
|
||
# Build Midpoint | ||
docker build midpoint -t midpoint-poc-midpoint |
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,13 @@ | ||
FROM mysql:latest | ||
|
||
MAINTAINER "TIER API & EntReg Working Group <tier-api@internet2.edu>" | ||
|
||
ENV MYSQL_ROOT_PASSWORD root | ||
|
||
COPY assets/init.sql /docker-entrypoint-initdb.d/ | ||
|
||
ENTRYPOINT ["docker-entrypoint.sh"] | ||
|
||
EXPOSE 3306 | ||
|
||
CMD ["mysqld"] |
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,2 @@ | ||
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; | ||
CREATE DATABASE grouper CHARACTER SET utf8 COLLATE utf8_bin; |
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,2 @@ | ||
#!/bin/bash | ||
docker build . -t midpoint-poc-mysql |
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,17 @@ | ||
version: "2" | ||
services: | ||
midpoint: | ||
image: midpoint-poc-midpoint | ||
mem_limit: 4g | ||
container_name: midpoint-poc-midpoint | ||
ports: | ||
- 8081:8080 | ||
#volumes: | ||
# - .:/shared_midpoint | ||
|
||
mysql: | ||
image: midpoint-poc-mysql | ||
#image: mysql:latest | ||
container_name: midpoint-poc-mysql | ||
ports: | ||
- 3306:3306 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,6 @@ | ||
#!/bin/sh | ||
# | ||
# build.sh, DESCRIPTION | ||
# | ||
# | ||
docker build -t midpoint-poc-midpoint . |