vault backup: 2023-10-18 09:24:50

Affected files:
Weaviate.md
This commit is contained in:
ed barz 2023-10-18 09:24:50 +02:00
parent 7dc272c86e
commit c5ddb0deb6
1 changed files with 20 additions and 0 deletions

View File

@ -81,3 +81,23 @@ Replace `/path/to/weaviate/data` to the path where you want to store the weaviat
Once the Weaviate docker-compose.yml is all set, you can simply start it by running `docker compose -f /path/to/weaviate/docker-compose.yml up`
#### Systemd service file
```
[Unit]
Description=Weaviate
After=network.target
[Service]
Type=simple
User=weav
ExecStart=/usr/bin/docker compose -f /path/to/weaviate/docker-compose.yml up
ExecStop=/usr/bin/docker compose -f /path/to/weaviate/docker-compose.yml down
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target
```