Skip to content

Commit e258ffd

Browse files
Update configuration docs (#1446)
media uploads
1 parent f3e9b08 commit e258ffd

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

docs/docs/content/configuration.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ When configuring auth proxies and web application firewalls, use this table.
5252

5353
### Filesystem
5454

55-
When configuring `docker` volume mounts for using filesystem media uploads, you can follow either of two approaches.
55+
When configuring `docker` volume mounts for using filesystem media uploads, you can follow either of two approaches. [The second option may be necessary if](https://github.com/knadh/listmonk/issues/1169#issuecomment-1674475945) your setup requires you to use `sudo` for docker commands.
56+
57+
After making any changes you will need to run `sudo docker-compose stop ; sudo docker-compose up`.
58+
59+
And under `https://listmonk.mysite.com/admin/settings` you put `/listmonk/uploads`.
5660

5761
#### Using volumes
5862

@@ -77,8 +81,22 @@ volumes:
7781
#### Using bind mounts
7882

7983
```yml
84+
app:
8085
volumes:
81-
- /data/uploads:/listmonk/uploads
86+
- ./path/on/your/host/:/path/inside/container
87+
```
88+
Eg:
89+
```yml
90+
app:
91+
volumes:
92+
- ./data/uploads:/listmonk/uploads
8293
```
83-
8494
The files will be available inside `/data/uploads` directory on the host machine.
95+
96+
To use the default `uploads` folder:
97+
```yml
98+
app:
99+
volumes:
100+
- ./listmonk/uploads:/listmonk/uploads
101+
```
102+

0 commit comments

Comments
 (0)