remove explicit /srv/ usage from docker-compose files

We have plenty of paths used in the application, but two of them
are hardcoded in examples all over the code for historical reasons.

I found that by default in Docker, the path would resolve to the value
we are setting it explicitly to, so it doesn't make sense to set
a few variables we are setting now explicitly.
This commit is contained in:
Dmitry Verkhoturov
2022-02-07 03:54:54 -06:00
committed by Umputun
parent e0980d4700
commit 9dbc36e426
6 changed files with 0 additions and 13 deletions
@@ -29,7 +29,6 @@ services:
environment:
- REMARK_URL=http://127.0.0.1:8080
- SECRET=123456
- BACKUP_PATH=/srv/var/backup
- DEBUG=true
- EMOJI=true
- AUTH_ANON=true
-2
View File
@@ -35,8 +35,6 @@ services:
# - TIME_ZONE=GMT
- REMARK_URL=http://127.0.0.1:8080
- SECRET=12345
- STORE_BOLT_PATH=/srv/var/db
- BACKUP_PATH=/srv/var/backup
- DEBUG=true
- ADMIN_PASSWD=password
- AUTH_DEV=true # activate local oauth "dev"
-2
View File
@@ -32,8 +32,6 @@ services:
environment:
- REMARK_URL=http://127.0.0.1:8080
- SECRET=12345
- STORE_BOLT_PATH=/srv/var/db
- BACKUP_PATH=/srv/var/backupang
- DEBUG=true
- ADMIN_PASSWD=password
- AUTH_DEV=true # activate local oauth "dev"
-2
View File
@@ -21,8 +21,6 @@ services:
environment:
- REMARK_URL
- SECRET
- STORE_BOLT_PATH=/srv/var/db
- BACKUP_PATH=/srv/var/backup
- DEBUG=true
- AUTH_GOOGLE_CID
- AUTH_GOOGLE_CSEC
@@ -47,10 +47,6 @@ spec:
secretKeyRef:
name: remark42
key: SECRET
- name: STORE_BOLT_PATH
value: "/srv/var/db"
- name: BACKUP_PATH
value: "/srv/var/backup"
- name: AUTH_GOOGLE_CID
valueFrom:
secretKeyRef:
-2
View File
@@ -53,8 +53,6 @@ services:
- SECRET=some-secret-thing
- USER=app
- REMARK_URL=https://remark42.example.com
- STORE_BOLT_PATH=/srv/var
- BACKUP_PATH=/srv/var/backup
- CACHE_MAX_VALUE=10000000
- IMAGE_PROXY_HTTP2HTTPS=true
- AVATAR_RESIZE=48