Skip to content

Commit

Permalink
feat: added states and volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed Aug 18, 2024
1 parent b19cb94 commit d8d1072
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions imageroot/actions/restore-module/40restore_database
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ podman run \
--network=none \
--volume=./initdb.d:/docker-entrypoint-initdb.d:z \
--volume mysql-data:/var/lib/mysql/:Z \
--env MARIADB_ROOT_PASSWORD=Nethesis,1234 \
--env MARIADB_DATABASE=leantime \
--env MARIADB_USER=leantime \
--env MARIADB_PASSWORD=leantime \
--env-file=database.env \
--replace --name=restore_db \
${MARIADB_IMAGE}
"${MARIADB_IMAGE}"
6 changes: 5 additions & 1 deletion imageroot/etc/state-include.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@


state/leantime.sql
volumes/leantime-app
state/leantime.env
state/leantime-db.env
volumes/leanuserfiles
volumes/leanpublic_userfiles
volumes/leanplugins

0 comments on commit d8d1072

Please sign in to comment.