Skip to content

Commit

Permalink
Merge branch 'dev' into tournoment
Browse files Browse the repository at this point in the history
  • Loading branch information
zstenger93 authored Apr 16, 2024
2 parents feab292 + f5f7a3b commit 4321394
Show file tree
Hide file tree
Showing 9 changed files with 8,688 additions and 12 deletions.
10 changes: 1 addition & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,4 @@ node_modules
*.pem


backend/output.json

# my stuff

backend/backend/settings.py
backend/user_api/views.py
docker/backend/backend.sh
frontend/package.json
.gitignore
docker/data
37 changes: 34 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ services:
# - 4000:4000
restart: unless-stopped
command: npm start

backend:
container_name: backend
env_file:
Expand All @@ -32,7 +31,6 @@ services:
restart: unless-stopped
depends_on:
- db

db:
image: postgres
container_name: database
Expand All @@ -43,7 +41,40 @@ services:
ports:
- "5432:5432"
restart: unless-stopped


prometheus:
image: prom/prometheus
container_name: prometheus
user: "root:root"
ports:
- "9090:9090"
volumes:
- ./docker/prometheus/:/etc/prometheus/
- ./docker/data/prometheus-data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus/data'
- '--storage.tsdb.retention.time=30d'
restart: unless-stopped
postgres-exporter:
image: wrouesnel/postgres_exporter
container_name: postgres-exporter
environment:
- DATA_SOURCE_NAME=postgresql://transcend_user:transcend_pwd@db:5432/transcend_users_db?sslmode=disable
ports:
- "9187:9187"
restart: unless-stopped
grafana:
image: grafana/grafana-oss:latest
container_name: grafana
user: "root:root"
ports:
- '3200:3200'
volumes:
- ./docker/data/grafana-data:/var/lib/grafana
- ./docker/grafana/provisioning/:/etc/grafana/provisioning/
- ./docker/grafana/defaults.ini:/etc/grafana/grafana.ini:ro

nginx:
container_name: nginx
env_file:
Expand Down
Loading

0 comments on commit 4321394

Please sign in to comment.