Skip to content

Commit

Permalink
Fix sources container in demo/complex2s
Browse files Browse the repository at this point in the history
Now the container correctly works after docker-compose down
and docker-compose up cycle.
  • Loading branch information
mederly committed Nov 4, 2019
1 parent fc1a4c3 commit bbbea53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion demo/complex2s/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ services:
networks:
- net
volumes:
- source_data:/var/lib/mysql
- source_mysql:/var/lib/mysql
- source_data:/var/lib/mysqlmounted
environment:
- CREATE_NEW_DATABASE=if_needed

# targets:
# build: ./targets/
Expand Down Expand Up @@ -299,6 +302,7 @@ secrets:
volumes:
grouper_data:
source_data:
source_mysql:
target_data:
ldap:
midpoint_data:
Expand Down
2 changes: 1 addition & 1 deletion demo/complex2s/sources/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ COPY container_files/seed-data/ /seed-data/
ENV MYSQL_DATABASE sis
ENV MYSQL_USER sis_user
ENV MYSQL_PASSWORD 49321420423
ENV MYSQL_DATADIR /var/lib/mysql
ENV MYSQL_DATADIR /var/lib/mysqlmounted
ENV AFTER_FIRST_TIME_SQL /seed-data/persons-and-courses.sql

0 comments on commit bbbea53

Please sign in to comment.