diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 7351673..76dbb96 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -6,7 +6,7 @@ on: tags: ["v*"] env: - REGISTRY: gitea.tenhal.sa + REGISTRY: 10.10.1.132:3000 IMAGE_NAME: marwan/hh jobs: diff --git a/build-and-push.sh b/build-and-push.sh index c036fec..c724d59 100755 --- a/build-and-push.sh +++ b/build-and-push.sh @@ -6,7 +6,7 @@ set -e # ./build-and-push.sh staging # ./build-and-push.sh v1.0.0 -REGISTRY="gitea.tenhal.sa/marwan/hh" +REGISTRY="10.10.1.132:3000/marwan/hh" TAG=${1:-staging} echo "========================================" @@ -18,7 +18,7 @@ echo "" echo "NOTE: CI normally handles this. Only use if CI is unavailable." echo "" -docker login gitea.tenhal.sa +docker login 10.10.1.132:3000 echo "" echo "[1/3] Building image..." diff --git a/deploy.prod.sh b/deploy.prod.sh index 760a015..c9af4b6 100755 --- a/deploy.prod.sh +++ b/deploy.prod.sh @@ -3,7 +3,7 @@ set -e VERSION=${1:?Usage: ./deploy.prod.sh } -IMAGE="gitea.tenhal.sa/marwan/hh:${VERSION}" +IMAGE="10.10.1.132:3000/marwan/hh:${VERSION}" echo "========================================" echo " PX360 Production Deploy" diff --git a/deploy.staging.sh b/deploy.staging.sh index cd8c512..00243b9 100755 --- a/deploy.staging.sh +++ b/deploy.staging.sh @@ -2,7 +2,7 @@ set -e VERSION=${1:-staging} -IMAGE="gitea.tenhal.sa/marwan/hh:${VERSION}" +IMAGE="10.10.1.132:3000/marwan/hh:${VERSION}" echo "========================================" echo " PX360 Staging Deploy" diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 93e0f3b..311a0c9 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -24,7 +24,7 @@ services: max-file: "3" web: - image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:latest} + image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:latest} container_name: px360_web restart: unless-stopped volumes: @@ -50,7 +50,7 @@ services: max-file: "3" celery: - image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:latest} + image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:latest} container_name: px360_celery restart: unless-stopped command: celery -A config worker -l info --concurrency=4 @@ -68,7 +68,7 @@ services: max-file: "3" celery-beat: - image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:latest} + image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:latest} container_name: px360_celery_beat restart: unless-stopped command: celery -A config beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index a4b1673..4e7d741 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -24,7 +24,7 @@ services: max-file: "3" web: - image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:staging} + image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:staging} container_name: px360_web restart: unless-stopped volumes: @@ -56,7 +56,7 @@ services: max-file: "3" celery: - image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:staging} + image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:staging} container_name: px360_celery restart: unless-stopped command: celery -A config worker -l info --concurrency=2 @@ -78,7 +78,7 @@ services: max-file: "3" celery-beat: - image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:staging} + image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:staging} container_name: px360_celery_beat restart: unless-stopped command: celery -A config beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler