Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/deploy-ec2-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
--instance-ids "${{ steps.get-instance.outputs.instance_id }}" \
--document-name "AWS-RunShellScript" \
--parameters 'commands=[
"cd /tekdb/TEKDB && git pull origin develop",
"aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | sudo docker login --username AWS --password-stdin ${{ secrets.WEB_ECR_IMAGE_URI }}",
"sudo docker pull ${{ secrets.WEB_ECR_IMAGE_URI }}:latest",
"aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | sudo docker login --username AWS --password-stdin ${{ secrets.PROXY_ECR_IMAGE_URI }}",
Expand Down
6 changes: 0 additions & 6 deletions docker/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ services:
start_period: 30s

celery:
build: ../TEKDB/
entrypoint: []
command: celery -A TEKDB worker -l info
volumes:
- ../TEKDB:/usr/src/app
environment:
CELERY_BROKER_URL: ${CELERY_BROKER_URL}
depends_on:
Expand All @@ -51,11 +48,8 @@ services:
redis:
condition: service_started
celery-beat:
build: ../TEKDB/
entrypoint: []
command: celery -A TEKDB beat -l info
volumes:
- ../TEKDB:/usr/src/app
environment:
CELERY_BROKER_URL: ${CELERY_BROKER_URL}
depends_on:
Expand Down
6 changes: 6 additions & 0 deletions docker/docker-compose.prod.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ services:
file: common.yaml
service: redis
celery:
build: ../TEKDB/
volumes:
- ../TEKDB:/usr/src/app
extends:
file: common.yaml
service: celery
celery-beat:
build: ../TEKDB/
volumes:
- ../TEKDB:/usr/src/app
extends:
file: common.yaml
service: celery-beat
Expand Down
6 changes: 6 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ services:
file: common.yaml
service: redis
celery:
build: ../TEKDB/
volumes:
- ../TEKDB:/usr/src/app
extends:
file: common.yaml
service: celery
celery-beat:
build: ../TEKDB/
volumes:
- ../TEKDB:/usr/src/app
extends:
file: common.yaml
service: celery-beat
Expand Down
Loading