Skip to content

Commit 0432fee

Browse files
committed
fix : docker compose file 수정
1 parent e0f2617 commit 0432fee

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

.github/workflows/cd.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,6 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v3
1919

20-
- name: List files for debug
21-
run: ls -al
22-
23-
- name: Upload docker-compose file to server
24-
uses: appleboy/scp-action@v0.1.4
25-
with:
26-
host: ${{ secrets.SERVER_HOST }}
27-
username: ${{ secrets.SERVER_USER }}
28-
key: ${{ secrets.SERVER_PEM_KEY }}
29-
source: .
30-
target: /home/ubuntu/app
31-
3220
- name: Connect & Deploy via SSH
3321
uses: appleboy/ssh-action@v1.0.3
3422
with:

docker-compose.backend.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ services:
5454
- 5672
5555

5656
celery_worker:
57+
image: ${DOCKER_USERNAME}/${DOCKER_IMAGE_NAME}:latest
5758
container_name: celery_worker
58-
build: .
5959
volumes:
6060
- ./:/app
6161
# command: sh -c "celery -A backend worker --loglevel=info"
@@ -70,8 +70,8 @@ services:
7070
tty: true
7171

7272
celery_worker_dlq:
73+
image: ${DOCKER_USERNAME}/${DOCKER_IMAGE_NAME}:latest
7374
container_name: celery_worker_dlq
74-
build: .
7575
command: celery -A backend worker --loglevel=info -Q dlq_notify_queue
7676
volumes:
7777
- ./:/app
@@ -85,8 +85,8 @@ services:
8585
tty: true
8686

8787
celery_beat:
88+
image: ${DOCKER_USERNAME}/${DOCKER_IMAGE_NAME}:latest
8889
container_name: celery_beat
89-
build: .
9090
volumes:
9191
- ./:/app
9292
command: sh -c "celery -A backend beat --loglevel=info"

0 commit comments

Comments
 (0)