Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyKomarovCoder committed Nov 19, 2023
1 parent 3cb2924 commit 7da6110
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.SSHKEY }}
rm: true
source: docker-compose.yml, build/schema/initdb.sql, metrics/prometheus/prometheus.yml, metrics/grafana/grafana.ini
source: docker-compose.yml, build/schema/initdb.sql, metrics/prometheus/prometheus.yml
target: ~/${{ env.FOLDER_COMPOSE }}

- name: Get docker form dockerhub via SSH action
Expand Down
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ services:
- hamster-net
ports:
- "${REDIS_PORT}:6379"


hammywallet-api:
container_name: ${CONTAINER_NAME}
Expand Down Expand Up @@ -115,14 +115,16 @@ services:
container_name: grafana
image: grafana/grafana-oss:9.4.3
user: '0'
environment:
GF_SERVER_SERVE_FROM_SUB_PATH: "true"
GF_SERVER_ROOT_URL: "https://hammywallet.ru/grafana/"
ports:
- "3001:3000"
- "8015:3000"
volumes:
- type: bind
source: /home/ubuntu/grafana_metrics
target: /var/lib/grafana
#- ./metrics/grafana/:/etc/grafana/
networks:
- hamster-net
volumes:
api-logs:
api-logs:
3 changes: 0 additions & 3 deletions metrics/grafana/grafana.ini

This file was deleted.

0 comments on commit 7da6110

Please sign in to comment.