Skip to content

Commit

Permalink
Restructuring to match refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Sep 2, 2016
1 parent fe2446e commit ec2c2f5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ bin/run.sh
bin/start.sh
bin/stop.sh
bin/test.sh
mysql
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV MYSQL_PASSWORD=3cf0ccc7d6b240390188367933c9cd90
ENV GROUPER_SYSTEM_PASSWORD=3cf0ccc7d6b240390188367933c9cd90
ENV MYSQL_HOST=mariadb

ADD ./container_files /root
ADD ./container_files /opt
COPY conf/grouper.hibernate.properties /opt/grouper/$version

RUN rm /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/conf/grouper.hibernate.properties && \
Expand All @@ -25,4 +25,4 @@ RUN rm /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/conf/grouper.hibernate.propert
rm /opt/grouper/2.3.0/grouper.ui-2.3.0/dist/grouper/WEB-INF/classes/grouper.hibernate.properties && \
ln -s /opt/grouper/$version/grouper.hibernate.properties /opt/grouper/2.3.0/grouper.ui-2.3.0/dist/grouper/WEB-INF/classes/grouper.hibernate.properties

VOLUME /opt/grouper/2.3.0/apache-tomcat-$TOMCAT_VERSION/logs
#VOLUME /opt/grouper/2.3.0/apache-tomcat-$TOMCAT_VERSION/logs
1 change: 1 addition & 0 deletions conf/common.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
COMPOSE=true
MYSQL_DATABASE=grouper
MYSQL_USER=grouper_user
MYSQL_PASSWORD=3cf0ccc7d6b240390188367933c9cd90
File renamed without changes.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'

services:
db:
mariadb:
image: bigfleet/mariadb
container_name: mariadb
hostname: mariadb
Expand All @@ -23,8 +23,6 @@ services:
image: my/grouper
container_name: grouper
hostname: grouper
depends_on:
- db
networks:
- i2network
ports:
Expand All @@ -35,10 +33,12 @@ services:
- NET_ADMIN
- SYS_ADMIN
volumes:
- logs:/opt/grouper/2.3.0/apache-tomcat-6.0.35/logs
- ./logs:/opt/grouper/2.3.0/apache-tomcat-6.0.35/logs
env_file:
- conf/common.env
- conf/grouper.env
links:
- mariadb

networks:
i2network:
Expand Down

0 comments on commit ec2c2f5

Please sign in to comment.