feat(setup): add a check to start docker services
This commit is contained in:
@@ -27,6 +27,7 @@ After=network.target
|
||||
WorkingDirectory=/srv/theplug
|
||||
EnvironmentFile=/srv/theplug/.env
|
||||
Environment=PYTHONPATH=app
|
||||
ExecStartPre=/usr/bin/docker compose -f /srv/theplug/compose.yml up -d redis mongodb
|
||||
ExecStart=$uv_bin run uvicorn app.main:app --host 0.0.0.0 --port $api_port
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
Reference in New Issue
Block a user