deploy to production

This commit is contained in:
Dmitry Afanasyev 2023-09-26 20:12:40 +03:00
parent d6afab4ee4
commit eb36036c04
2 changed files with 3 additions and 2 deletions

View File

@ -24,3 +24,4 @@ WORKERS_COUNT=1
RELOAD="true"
DEBUG="true"
GPT_MODEL="gpt-3.5-turbo-stream-AItianhuSpace"

View File

@ -5,7 +5,7 @@ After=network-online.target
[Service]
Restart=always
WorkingDirectory=/opt/chat_gpt_bot
ExecStart=bash -c "docker compose -f /opt/chat_gpt_bot/docker-compose.yml up"
ExecStop=bash -c "docker compose -f /opt/chat_gpt_bot/docker-compose.yml down"
ExecStart=bash -c "docker compose -f /opt/gpt_chat_bot/docker-compose.yml up"
ExecStop=bash -c "docker compose -f /opt/gpt_chat_bot/docker-compose.yml down"
[Install]
WantedBy=multi-user.target