Skip to content

Commit 65d43df

Browse files
committed
changes
1 parent d5059cf commit 65d43df

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

infrastructure/applications/pycon_backend/web_task.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ resource "aws_ecs_task_definition" "web" {
99
essential = true
1010

1111
command = [
12-
"/home/app/.venv/bin/gunicorn", "-w", "5", "-b", "0.0.0.0:8000", "pycon.wsgi"
12+
"gunicorn", "-w", "5", "-b", "0.0.0.0:8000", "pycon.wsgi"
1313
]
1414

1515
dockerLabels = {

infrastructure/applications/pycon_backend/worker.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ resource "aws_ecs_task_definition" "worker" {
220220
essential = true
221221

222222
command = [
223-
"/home/app/.venv/bin/celery", "-A", "pycon", "worker", "-l", "info", "-E"
223+
"bin/celery", "-A", "pycon", "worker", "-l", "info", "-E"
224224
]
225225

226226
environment = local.env_vars
@@ -261,7 +261,7 @@ resource "aws_ecs_task_definition" "worker" {
261261
essential = false
262262

263263
command = [
264-
"/home/app/.venv/bin/python", "manage.py", "migrate"
264+
"bin/python", "manage.py", "migrate"
265265
]
266266

267267
environment = local.env_vars
@@ -312,7 +312,7 @@ resource "aws_ecs_task_definition" "beat" {
312312
essential = true
313313

314314
command = [
315-
"/home/app/.venv/bin/celery", "-A", "pycon", "beat", "-l", "info"
315+
"bin/celery", "-A", "pycon", "beat", "-l", "info"
316316
]
317317

318318
environment = local.env_vars

infrastructure/applications/pycon_backend/worker_heavy_processing.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "aws_ecs_task_definition" "heavy_processing_worker" {
2424
essential = true
2525

2626
command = [
27-
"/home/app/.venv/bin/celery", "-A", "pycon", "worker", "-l", "info", "-Q", "heavy_processing", "--hostname", "heavyprocessing@%h", "-E"
27+
"celery", "-A", "pycon", "worker", "-l", "info", "-Q", "heavy_processing", "--hostname", "heavyprocessing@%h", "-E"
2828
]
2929

3030
environment = local.env_vars

0 commit comments

Comments
 (0)