Ver Fonte

update docker-compose with persistent dir for grocery app cache

Pi há 8 meses atrás
pai
commit
6327a1ab5e
2 ficheiros alterados com 3 adições e 5 exclusões
  1. 1 5
      .gitmodules
  2. 2 0
      docker-compose.yml

+ 1 - 5
.gitmodules

@@ -1,13 +1,9 @@
 [submodule "prayer-generator"]
 	path = prayer-generator
 	url = https://gogs.shandan.one/gogsadmin/prayer-generator.git
-	branch = templates
+	branch = master
 
 [submodule "grocery-transactions"]
 	path = grocery-transactions
-	#url = /home/pi/git/grocery_transactions.git
 	url = https://gogs.shandan.one/gogsadmin/grocery-manager.git
-	#branch = master
 	branch = vertical-button-groups
-	#branch = filter-tables
-	#branch = limit-url-length

+ 2 - 0
docker-compose.yml

@@ -40,6 +40,8 @@ services:
       HOST: 192.168.0.20
       USER: pi
       PASSWORD: ${GROCERYDB_PASSWORD}
+    volumes:
+      - ./grocery-files:/usr/src/app/app/rest/static/files
     expose:
       - 6772
     networks: