Skip to content

Commit

Permalink
fix(docker-compose): production imag url
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamad-liyaghi committed May 2, 2024
1 parent 4949ac7 commit 2aec44b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ services:
restart: on-failure
command: sh ./docker/commands/setup.sh
container_name: academy-master-backend
build:
context: .
dockerfile: ./backend/docker/Dockerfile
image: ml06py/academy_master:latest
ports:
- "8000:8000"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: backend
image: mohammadbaj/academy_master:latest
image: ml06py/academy_master:latest
command: ["/bin/sh"]
args: [ "/backend/docker/commands/setup.sh" ]

Expand Down
4 changes: 2 additions & 2 deletions kubernetes/celery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: celery-master
image: mohammadbaj/academy_master:latest
image: ml06py/academy_master:latest
command: ["/bin/sh"]
args: [ "/backend/docker/commands/celery.sh" ]

Expand All @@ -32,7 +32,7 @@ spec:


- name: celery-slave
image: mohammadbaj/academy_master:latest
image: ml06py/academy_master:latest
command: ["/bin/sh"]
args: [ "/backend/docker/commands/celery-beat.sh" ]

Expand Down

0 comments on commit 2aec44b

Please sign in to comment.