summarylogtreecommitdiffstats
path: root/fix-env-nodocker.patch
blob: dcd2dc9a7ad915dba58bdf2cb1155a6b365b9222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff -ura borgwarehouse-2.4.1/.env.sample borgwarehouse-2.4.1.new/.env.sample
--- borgwarehouse-2.4.1/.env.sample	2024-09-01 14:58:57.000000000 +0200
+++ borgwarehouse-2.4.1.new/.env.sample	2024-09-04 16:31:49.528155738 +0200
@@ -2,6 +2,7 @@
 
 # Host port mappings
 WEB_SERVER_PORT=3000
+WEB_SERVER_HOST='localhost'
 SSH_SERVER_PORT=2222
 
 # Hostname and URL
@@ -12,19 +13,14 @@
 NEXTAUTH_SECRET=your-secret
 CRONJOB_KEY=your-other-secret
 
-# UID:GID must match the user and group ID of the host folders and must be > 1000
-# If you want to use a different user than 1001:1001, you must rebuild the image yourself.
-UID=1001
-GID=1001
-
 # Config and data folders (volume mounts)
 # The host folders must be owned by the user with UID and GID specified above
-CONFIG_PATH=./config
-SSH_PATH=./ssh
-SSH_HOST=./ssh_host
-BORG_REPOSITORY_PATH=./repos
-TMP_PATH=./tmp
-LOGS_PATH=./logs
+CONFIG_PATH=/etc/webapps/borgwarehouse/config
+SSH_PATH=/var/lib/borgwarehouse/ssh
+SSH_HOST=/var/lib/borgwarehouse/ssh_host
+BORG_REPOSITORY_PATH=/var/lib/borgwarehouse/repos
+TMP_PATH=/var/lib/borgwarehouse/tmp
+LOGS_PATH=/var/lib/borgwarehouse/logs
 
 ## Optional variables section ##
 
@@ -50,4 +46,4 @@
 MAIL_REJECT_SELFSIGNED_TLS=
 
 # Force app to start on IPv6
-#HOSTNAME=::
\ No newline at end of file
+#HOSTNAME=::
Only in borgwarehouse-2.4.1.new/: .env.sample.orig