Skip to content

Commit 0c28c1b

Browse files
committed
Docker compose of production pulls image build by CD CI pipeline
1 parent 1ea112c commit 0c28c1b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

docker-compose.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ services:
1717
- anomaly-detection-broker:/var/lib/rabbitmq
1818

1919
api: &api
20-
build:
21-
context: ./api
22-
args:
23-
- DEV=false
24-
image: mosquito-alert/anomaly-detection-api
20+
image: ghcr.io/mosquito-alert/anomaly_detection-api
2521
container_name: anomaly-detection-api
2622
hostname: api
2723
ports:
@@ -58,10 +54,7 @@ services:
5854
command: sh -c "celery -A project flower --basic_auth=$$CELERY_FLOWER_USER:$$CELERY_FLOWER_PASSWORD"
5955

6056
frontend:
61-
build:
62-
context: ./frontend
63-
dockerfile: Dockerfile
64-
image: mosquito-alert/anomaly-detection-frontend
57+
image: ghcr.io/mosquito-alert/anomaly_detection-frontend
6558
container_name: anomaly-detection-frontend
6659
hostname: frontend
6760
ports:

0 commit comments

Comments
 (0)