exponer el puerto de prometheus!

This commit is contained in:
f 2020-09-22 15:17:59 -03:00
parent 99f5ca53b0
commit da7105fb0a
2 changed files with 4 additions and 1 deletions

View file

@ -119,3 +119,4 @@ VOLUME "/srv/http/data"
# El puerto de puma
EXPOSE 3000
EXPOSE 9394

View file

@ -3,7 +3,7 @@ mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
root_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
include $(root_dir)/.env
delegate := anarres
delegate := athshe
assets := package.json yarn.lock $(shell find app/assets/ app/javascript/ -type f)
@ -32,9 +32,11 @@ clean:
# Generar la imagen Docker
build: assets
time docker build --build-arg="RAILS_MASTER_KEY=`cat config/master.key`" -t sutty/sutty .
docker tag sutty/sutty:latest sutty:keep
save:
time docker save sutty/sutty:latest | ssh root@$(delegate).sutty.nl docker load
date +%F | xargs git tag -f
load:
ssh root@sutty.nl sh -c "gunzip -c sutty.latest.gz | docker load"