Skip to content

Commit

Permalink
use images from docker.pkg.github.com/myrteametrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Waldo CHARRIS committed Nov 27, 2020
1 parent 3815be9 commit b02a2fc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ USER myrtea

WORKDIR /app

COPY bin/myrtea-holfuy-connector myrtea-holfuy-connector
COPY bin/myrtea-weather-connector myrtea-weather-connector

ENTRYPOINT ["./myrtea-holfuy-connector"]
ENTRYPOINT ["./myrtea-weather-connector"]
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAMESPACE = myrtea
APP = holfuy-connector
APP = weather-connector
GOOS ?= linux
TAG ?= demo
BUILD ?= 0
Expand Down Expand Up @@ -27,4 +27,12 @@ docker-build-local:

.PHONY: docker-push ## Push the docker image to hub.docker.com
docker-push:
docker push $(DOCKER_IMAGE)
docker push $(DOCKER_IMAGE)

.PHONY: deploy
deploy: ## Run the docker-compose
docker-compose -f docker-compose.yml up

.PHONY: undeploy
undeploy:
docker-compose -f docker-compose.yml down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ services:

myrtea-ingester-api:
network_mode: host
image: github.com/myrteametrics/myrtea-ingester-api:demo
image: docker.pkg.github.com/myrteametrics/myrtea-ingester-api/myrtea-ingester-api:demo
container_name: myrtea-demo-ingester-api
ports:
- 9001:9001
Expand Down Expand Up @@ -136,7 +136,7 @@ services:

myrtea-engine-api:
network_mode: host
image: github.com/myrteametrics/myrtea-engine-api:demo
image: docker.pkg.github.com/myrteametrics/myrtea-ingester-api/myrtea-engine-api:demo
container_name: myrtea-demo-engine-api
ports:
- 9000:9000
Expand Down Expand Up @@ -252,8 +252,8 @@ services:

myrtea-connector:
network_mode: host
image: github.com/myrteametrics/myrtea-connector:demo
container_name: myrtea-demo-connector
image: docker.pkg.github.com/myrteametrics/myrtea-weather-demo/myrtea-weather-connector:demo
container_name: myrtea-demo-weather-connector
depends_on:
- wait

Expand Down

0 comments on commit b02a2fc

Please sign in to comment.