x
This commit is contained in:
parent
b5e77bcb2e
commit
fbe990ada2
3 changed files with 66 additions and 1 deletions
44
docker/karakeep/compose.yaml
Normal file
44
docker/karakeep/compose.yaml
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
image: ghcr.io/karakeep-app/karakeep:${KARAKEEP_VERSION:-release}
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
# By default, the data is stored in a docker volume called "data".
|
||||||
|
# If you want to mount a custom directory, change the volume mapping to:
|
||||||
|
# - /path/to/your/directory:/data
|
||||||
|
- data:/data
|
||||||
|
ports:
|
||||||
|
- 3001:3000
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
MEILI_ADDR: http://meilisearch:7700
|
||||||
|
BROWSER_WEB_URL: http://chrome:9222
|
||||||
|
# OPENAI_API_KEY: ...
|
||||||
|
|
||||||
|
# You almost never want to change the value of the DATA_DIR variable.
|
||||||
|
# If you want to mount a custom directory, change the volume mapping above instead.
|
||||||
|
DATA_DIR: /data # DON'T CHANGE THIS
|
||||||
|
chrome:
|
||||||
|
image: gcr.io/zenika-hub/alpine-chrome:124
|
||||||
|
restart: unless-stopped
|
||||||
|
command:
|
||||||
|
- --no-sandbox
|
||||||
|
- --disable-gpu
|
||||||
|
- --disable-dev-shm-usage
|
||||||
|
- --remote-debugging-address=0.0.0.0
|
||||||
|
- --remote-debugging-port=9222
|
||||||
|
- --hide-scrollbars
|
||||||
|
meilisearch:
|
||||||
|
image: getmeili/meilisearch:v1.13.3
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
MEILI_NO_ANALYTICS: "true"
|
||||||
|
volumes:
|
||||||
|
- meilisearch:/meili_data
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
meilisearch:
|
||||||
|
data:
|
||||||
20
homeservers/Caddy.md
Normal file
20
homeservers/Caddy.md
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# Caddy
|
||||||
|
|
||||||
|
To edit the Caddyfile
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo bastille cmd caddy nvim /usr/local/etc/caddy/Caddyfile
|
||||||
|
sudo bastille restart caddy
|
||||||
|
```
|
||||||
|
|
||||||
|
To see the log
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo bastille cmd caddy tail /var/log/caddy/caddy.log
|
||||||
|
```
|
||||||
|
|
||||||
|
To enter the console
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo bastille console caddy
|
||||||
|
```
|
||||||
|
|
@ -42,3 +42,4 @@ I have backup and restore scripts and instructions. See here:
|
||||||
|
|
||||||
* [Backup](./Backup.md)
|
* [Backup](./Backup.md)
|
||||||
* [Restore](./Restore.md)
|
* [Restore](./Restore.md)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue