[All] Podman / Quadlet changes and additions

This commit is contained in:
j1nx 2024-01-10 18:59:24 +00:00
parent 89d0b2ce70
commit 2ea7fc5a85
7 changed files with 42 additions and 7 deletions

View File

@ -1,11 +1,14 @@
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
alias ll='ls -la'
alias ovos-cli-client='podman exec --interactive --tty ovos_cli ovos-cli-client'
alias ovos-config='podman exec --interactive --tty ovos_cli ovos-config'
alias ovos-speak='podman exec --interactive --tty ovos_cli ovos-speak'
alias ovos-cli-client='podman exec --interactive --tty ovos-cli ovos-cli-client'
alias ovos-simple-cli='podman exec --interactive --tty ovos-cli ovos-simple-cli'
alias ovos-config='podman exec --interactive --tty ovos-cli ovos-config'
alias ovos-speak='podman exec --interactive --tty ovos-cli ovos-speak'
alias ovos-listen='podman exec --interactive --tty ovos-cli ovos-listen'
alias ovos-say-to='podman exec --interactive --tty ovos-cli ovos-say-to'
alias ovos-log-watch='journalctl --user-unit=ovos_* -f'
alias mana='podman exec --interactive --tty ovos_cli mana'
alias mana='podman exec --interactive --tty ovos-cli mana'
######################################################################
# Initialize OpenVoiceOS CLI Environment

View File

@ -1,5 +1,2 @@
[storage]
driver = "overlay"
[storage.options]
mount_program = "/usr/bin/fuse-overlayfs"

View File

@ -0,0 +1,24 @@
[Unit]
Description=OpenVoiceOS TTS Piper Server
After=local-fs.target
After=network-online.target
Wants=network-online.target
[Container]
ContainerName=ovos-tts-server-piper
Image=docker.io/smartgic/ovos-tts-server-piper:alpha
AutoUpdate=registry
LogDriver=journald
HostName=ovos-tts-server-piper
Network=host
PublishPort=8089-9666
Timezone=local
UserNS=keep-id:uid=%U,gid=%G
EnvironmentFile=%h/.config/containers/env
Volume=%h/ovos/config:/home/ovos/.config/mycroft:ro,z
Volume=ovos_tts_piper_cache:/home/ovos/.local/share/piper_tts
Volume=ovos_tts_piper_gradio_cache:/home/ovos/gradio_cached_examples
[Service]
TimeoutStartSec=900
Restart=always

View File

@ -0,0 +1,4 @@
[Volume]
User=ovos
Group=ovos
Label=name=ovos_tts_piper_cache

View File

@ -0,0 +1,4 @@
[Volume]
User=ovos
Group=ovos
Label=name=ovos_tts_piper_gradio_cache

View File

@ -13,8 +13,11 @@ echo " v0.1.1 "
echo
echo "Available Tool COMMANDs:"
echo " ovos-cli-client Command line client, useful for debugging "
echo " ovos-simple-cli Simple command line client for ovos "
echo " ovos-config Manage your local ovos configuration files "
echo " ovos-speak <phrase> Have the system speak a phrase to the user "
echo " ovos-listen Start listening for commands "
echo " ovos-say-to <phrase> Directly give a written command to ovos "
echo " ovos-log-watch Watch ovos log files live "
echo
echo " mana Messagebus Application from Neon Ai "