From cf997553022b951b28e772f58ea35f7e8df56088 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 15 Sep 2024 00:21:02 +0800 Subject: [PATCH] Switch image repository to docker.io and fix bind mount for static files --- docker-compose.demo.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.demo.yml b/docker-compose.demo.yml index c522683..9c14682 100644 --- a/docker-compose.demo.yml +++ b/docker-compose.demo.yml @@ -4,14 +4,14 @@ services: # Django Backend django: env_file: .env - image: git.06222001.xyz/keannu125/drf_template:latest + image: keannu125/drf_template:latest ports: - "${BACKEND_PORT}:8000" environment: - PYTHONBUFFERED=1 - RUN_TYPE=web volumes: - - ./backend/static:/backend/static + - ./backend/static:./code/backend/static depends_on: - postgres @@ -20,7 +20,7 @@ services: env_file: .env environment: - RUN_TYPE=worker - image: git.06222001.xyz/keannu125/drf_template:latest + image: keannu125/drf_template:latest depends_on: - django - postgres @@ -33,7 +33,7 @@ services: env_file: .env environment: - RUN_TYPE=beat - image: git.06222001.xyz/keannu125/drf_template:latest + image: keannu125/drf_template:latest depends_on: - celery - django