@@ -34,23 +34,23 @@ git clone
[email protected] :varfish-org/varfish-docker-compose-ng.git
34
34
35
35
From here on, the commands should be executed from within this repository (` cd varfish-docker-compose-ng ` ).
36
36
37
- We will use the directory ` .prod ` within the checkout for storing data and secrets.
37
+ We will use the directory ` .dev ` within the checkout for storing data and secrets.
38
38
In a production deployment, these directories should live outside of the checkout, of course.
39
39
40
40
Now, we create the directories for data storage.
41
41
42
42
``` bash session
43
- mkdir -p .prod /volumes/{minio,varfish-static}/data
43
+ mkdir -p .dev /volumes/{minio,varfish-static}/data
44
44
```
45
45
46
46
Next, we setup some "secrets" for the passwords.
47
47
48
48
``` bash session
49
- mkdir -p .prod /secrets
50
- echo password > .prod /secrets/db-password
51
- echo postgresql://varfish:password@postgres/varfish > .prod /secrets/db-url
52
- echo minio-root-password > .prod /secrets/minio-root-password
53
- echo minio-varfish-password > .prod /secrets/minio-varfish-password
49
+ mkdir -p .dev /secrets
50
+ echo password > .dev /secrets/db-password
51
+ echo postgresql://varfish:password@postgres/varfish > .dev /secrets/db-url
52
+ echo minio-root-password > .dev /secrets/minio-root-password
53
+ echo minio-varfish-password > .dev /secrets/minio-varfish-password
54
54
```
55
55
56
56
Also, setup a secret for the web server sessions:
@@ -59,7 +59,7 @@ Also, setup a secret for the web server sessions:
59
59
# ensure that pwgen is installed first
60
60
pwgen
61
61
# generate a 100 character secret
62
- pwgen 100 1 > .prod /secrets/varfish-server-django-secret-key
62
+ pwgen 100 1 > .dev /secrets/varfish-server-django-secret-key
63
63
```
64
64
65
65
We now copy the ` env.tpl ` file to the default location for the environment ` .env ` .
0 commit comments