Skip to content

Commit

Permalink
Avoid re-creation of mP repository
Browse files Browse the repository at this point in the history
By setting CREATE_NEW_DATABASE to "if_needed" we avoid re-running
of database initialization code in midpoint-data container on
re-creation of that container. (Although almost harmless it could
cause problems in some situations.)
  • Loading branch information
mederly committed Sep 27, 2018
1 parent 5bf7923 commit edf9154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions midpoint/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ services:
volumes:
- midpoint_mysql:/var/lib/mysql
- midpoint_data:/var/lib/mysqlmounted
# environment:
# - CREATE_NEW_DATABASE=if_needed
environment:
- CREATE_NEW_DATABASE=if_needed

midpoint-server:
build: ./midpoint-server/
Expand Down

0 comments on commit edf9154

Please sign in to comment.