You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -135,9 +139,28 @@ It is most likely that you will use the id of yourself, which can be obtained by
135
139
id $user
136
140
```
137
141
142
+
## Adding missing fonts
143
+
144
+
Thanks to @aaron-jang for this example.
145
+
146
+
Download the font of the language that you want to use in Obsidian and add it to the volume as shown below.
147
+
148
+
### Map font file using Docker CLI
149
+
150
+
```PowerShell
151
+
-v {downloaded font directory}:/usr/share/fonts/truetype/{font name}
152
+
```
153
+
154
+
### Map font file using Docker Compose
155
+
156
+
```PowerShell
157
+
volumes:
158
+
- {downloaded font directory}:/usr/share/fonts/truetype/{font name}
159
+
```
160
+
138
161
## Hosting behind a reverse proxy
139
162
140
-
If you whish to do that **please make sure you are securing it in some way!**. You also need to ensure **websocket** support is enabled.
163
+
If you wish to do that **please make sure you are securing it in some way!**. You also need to ensure **websocket** support is enabled.
141
164
142
165
### Example nginx configuration
143
166
@@ -172,6 +195,37 @@ server {
172
195
}
173
196
```
174
197
198
+
## Hosting behind Nginx Proxy Manager (NPM)
199
+
200
+
Thanks to @fahrenhe1t for this example.
201
+
202
+
If you install obsidian-remote in Docker, you can proxy it through [Nginx Proxy Manager](https://nginxproxymanager.com/) (NPM - running on the same Docker instance), and use an access list to provide user authentication. The obsidian-remote container would have to be on the same network as Nginx Proxy Manager. If you don't expose the IP external to the container, authentication would be forced through NPM:
203
+
204
+
```yaml
205
+
version: '3.8'
206
+
services:
207
+
obsidian:
208
+
image: 'ghcr.io/sytone/obsidian-remote:latest'
209
+
container_name: obsidian-remote
210
+
restart: unless-stopped
211
+
ports:
212
+
- 8080#only exposes port internally to the container
213
+
volumes:
214
+
- /home/obsidian/vaults:/vaults
215
+
- /home/obsidian/config:/config
216
+
environment:
217
+
- PUID=1000
218
+
- PGID=1000
219
+
- TZ=America/Los_Angeles
220
+
- DOCKER_MODS=linuxserver/mods:universal-git
221
+
networks:
222
+
default:
223
+
name: <your nginx proxy manager network>
224
+
external: true
225
+
```
226
+
227
+
Create a proxy host in NPM pointing to the "obsidian-remote:8080" container, choose your domain name, use a LetsEncrypt SSL certificate, enable WebSockets. This video talks about it: [Nginx Proxy Manager - ACCESS LIST protection for internal services](https://www.youtube.com/watch?v=G9voYZejH48)
228
+
175
229
## Updating Obsidian
176
230
177
231
By default obsidian will update itself in the container. If you recreate the container you will have to do the update again. This repo will be updated periodically to keep up with the latest version of Obsidian.
0 commit comments