Skip to content

Commit

Permalink
Add tags to k8 image
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaam committed Mar 2, 2024
1 parent 4973492 commit f13e433
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
5 changes: 2 additions & 3 deletions babblebox/compose/production/traefik/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@ certificatesResolvers:
http:
routers:
web-router:
rule: 'Host(`babblebox-app.shivamrastogi.com`) || Host(`afe3e7e7f19474b8f905a1318ca3754e-1960994874.us-east-1.elb.amazonaws.com`) || Host(`localhost`)'
rule: 'Host(`babblebox-app.shivamrastogi.com`)'
entryPoints:
- web
service: django
web-secure-router:
rule: 'Host(`babblebox-app.shivamrastogi.com`) || Host(`afe3e7e7f19474b8f905a1318ca3754e-1960994874.us-east-1.elb.amazonaws.com`) || Host(`localhost`)'
entryPoints:
- web-secure
middlewares:
Expand All @@ -48,7 +47,7 @@ http:
- main: babblebox-app.shivamrastogi.com

flower-secure-router:
rule: 'Host(`babblebox-app.shivamrastogi.com`) || Host(`afe3e7e7f19474b8f905a1318ca3754e-1960994874.us-east-1.elb.amazonaws.com`) || Host(`localhost`)'
rule: 'Host(`babblebox-app.shivamrastogi.com`)'
entryPoints:
- flower
service: flower
Expand Down
2 changes: 1 addition & 1 deletion babblebox/k8s/celerybeat-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ spec:
configMapKeyRef:
key: WEB_CONCURRENCY
name: djangoc
image: 058264340712.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_celerybeat
image: 590183870911.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_celerybeat
name: celerybeat
restartPolicy: Always
2 changes: 1 addition & 1 deletion babblebox/k8s/celeryworker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ spec:
configMapKeyRef:
key: WEB_CONCURRENCY
name: djangoc
image: 058264340712.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_celeryworker
image: 590183870911.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_celeryworker
name: celeryworker
restartPolicy: Always
2 changes: 1 addition & 1 deletion babblebox/k8s/django-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ spec:
configMapKeyRef:
key: WEB_CONCURRENCY
name: djangoc
image: 058264340712.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_django
image: 590183870911.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_django:CODE_XTAG
name: django
restartPolicy: Always
2 changes: 1 addition & 1 deletion babblebox/k8s/flower-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ spec:
configMapKeyRef:
key: WEB_CONCURRENCY
name: djangoc
image: 058264340712.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_flower
image: 590183870911.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_flower
name: flower
restartPolicy: Always
2 changes: 1 addition & 1 deletion babblebox/k8s/postgres-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
configMapKeyRef:
key: POSTGRES_USER
name: postgresc
image: 058264340712.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_postgres
image: 590183870911.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_postgres
name: postgres
ports:
- containerPort: 5432
Expand Down
2 changes: 1 addition & 1 deletion babblebox/k8s/traefik-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
io.kompose.service: traefik
spec:
containers:
- image: 058264340712.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_traefik
- image: 590183870911.dkr.ecr.us-east-1.amazonaws.com/babblebox_production_traefik:CODE_XTAG
name: traefik
ports:
- containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions babblebox/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ services:
build:
context: .
dockerfile: ./compose/production/traefik/Dockerfile
platform: linux/amd64 # Add this line to set platform to amd64 Linux
image: ${DOCKER_REGISTRY}/babblebox_production_traefik
depends_on:
- django
Expand Down

0 comments on commit f13e433

Please sign in to comment.