established parallel CI pipeline for quicker testing after DO droplet upsizing; ensured gamearray (docker) and gamearray_celery services restart automatically when not purposefully powered off
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -12,6 +12,7 @@ docker rm gamearray 2>/dev/null || true
|
||||
|
||||
echo "==> Starting new container..."
|
||||
docker run -d --name gamearray \
|
||||
--restart unless-stopped \
|
||||
--env-file /opt/gamearray/gamearray.env \
|
||||
--network gamearray_net \
|
||||
-p 127.0.0.1:8888:8888 \
|
||||
@@ -23,6 +24,7 @@ docker rm gamearray_celery 2>/dev/null || true
|
||||
|
||||
echo "==> Starting new celery worker..."
|
||||
docker run -d --name gamearray_celery \
|
||||
--restart unless-stopped \
|
||||
--env-file /opt/gamearray/gamearray.env \
|
||||
--network gamearray_net \
|
||||
"$IMAGE" python -m celery -A core worker -l info
|
||||
|
||||
Reference in New Issue
Block a user