This commit is contained in:
Dmitry Afanasyev
2023-09-26 22:31:16 +03:00
committed by GitHub
parent 9ad47ce7c3
commit 59363a495f
3 changed files with 121 additions and 253 deletions

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/gpt_chat_bot/docker-compose.yml up"
ExecStart=bash -c "STAGE=production 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