Add env var for openai api endpoint
This commit is contained in:
15
vibe-bot.container
Normal file
15
vibe-bot.container
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Discord Bot Container
|
||||
After=network.target
|
||||
|
||||
[Container]
|
||||
Image=localhost/vibe-bot:latest
|
||||
Environment=DISCORD_TOKEN=your_token_here
|
||||
Environment=OPENAI_API_ENDPOINT=http://host.containers.internal:8000
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target default.target
|
||||
Reference in New Issue
Block a user