Added a volume to persist db data in Docker.
authorNik Okuntseff <support@anuko.com>
Sat, 29 Dec 2018 20:50:46 +0000 (20:50 +0000)
committerNik Okuntseff <support@anuko.com>
Sat, 29 Dec 2018 20:50:46 +0000 (20:50 +0000)
WEB-INF/templates/footer.tpl
docker-compose.yml

index f2ab255..5d77a19 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.36.4695 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.36.4696 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index b5ecef9..e516fad 100644 (file)
@@ -15,7 +15,7 @@ services:
   # creation of its configuration file. Specifically, we replace
   # user name, password, service name (aka resolvable to IP server name
   # where mariadb runs), and database name there from the defaults.
-  # Apparently, these two sets of credentials must match for successful connect.
+  # These two sets of credentials must match for a successful connect.
   anuko_sql:
     image: "mariadb:latest"
     container_name: anuko-sql
@@ -24,3 +24,8 @@ services:
       MYSQL_DATABASE: timetracker
       MYSQL_USER: anuko_user
       MYSQL_PASSWORD: anuko_pw
+    volumes:
+      - db-data:/var/lib/mysql
+
+volumes:
+   db-data:
\ No newline at end of file