vault backup: 2023-10-18 09:24:50
Affected files: Weaviate.md
This commit is contained in:
parent
7dc272c86e
commit
c5ddb0deb6
20
Weaviate.md
20
Weaviate.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue