Skip to content

Commit

Permalink
prueba despliegue develop
Browse files Browse the repository at this point in the history
  • Loading branch information
UO264802 committed Apr 29, 2022
1 parent 82892f0 commit 4a83030
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/asw2122.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
user: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
command: |
wget https://github.com/Arquisoft/dede_es6b/blob/master/docker-compose-deploy.yml -O docker-compose.yml
wget https://github.com/Arquisoft/dede_es6b/blob/develop/docker-compose-deploy.yml -O docker-compose.yml
docker-compose stop
docker-compose rm -f
docker-compose pull
Expand Down
25 changes: 0 additions & 25 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
version: '3.5'
volumes:
prometheus_data: {}
grafana_data: {}
services:
restapi:
build: ./restapi
Expand All @@ -13,26 +11,3 @@ services:
- "3000:3000"
depends_on:
- restapi
prometheus:
image: prom/prometheus
volumes:
- ./restapi/monitoring/prometheus:/etc/prometheus
- prometheus_data:/prometheus
ports:
- "9090:9090"
depends_on:
- restapi
grafana:
image: grafana/grafana
volumes:
- grafana_data:/var/lib/grafana
- ./restapi/monitoring/grafana/provisioning:/etc/grafana/provisioning
environment:
- GF_SERVER_HTTP_PORT=9091
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
ports:
- "9091:9091"
depends_on:
- restapi

0 comments on commit 4a83030

Please sign in to comment.