Skip to content

Commit

Permalink
nginx issues
Browse files Browse the repository at this point in the history
  • Loading branch information
argonmining committed Aug 10, 2024
1 parent 8897eee commit 9334aa0
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
image: postgres
container_name: kaspool-db
networks:
- backend
- backend
volumes:
- ./postgres_data:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
Expand All @@ -25,8 +25,8 @@ services:
networks:
- backend
volumes:
- ./config:/app/config
- ./wasm:/app/wasm
- ./config:/app/config
- ./wasm:/app/wasm
env_file:
- .env
restart: always
Expand All @@ -38,41 +38,43 @@ services:
depends_on:
- postgres
networks:
- backend
- backend
env_file:
- .env
restart: always

kaspool-payment:
image: ghcr.io/argonmining/katpool-payment:v2408.1b-main
pull_policy: always
container_name: kaspool-payment
container_name: kaspool-payment
depends_on:
- postgres
volumes:
- ./config:/app/config
- ./wasm:/app/wasm
- ./wasm:/app/wasm
networks:
- backend
- backend
env_file:
- .env
restart: always

prometheus:
image: prom/prometheus
container_name: kaspool-prmths
depends_on:
- kaspool-db
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus_data:/prometheus
networks:
- backend
- backend
command:
- '--config.file=/etc/prometheus/prometheus.yml'
restart: always

pushgateway:
image: prom/pushgateway
container_name: kaspool-pushgateway
container_name: kaspool-pushgateway
networks:
- backend
restart: always
Expand All @@ -82,16 +84,15 @@ services:
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
# - ./htpasswd:/etc/nginx/.htpasswd
# - ./htpasswd:/etc/nginx/.htpasswd
ports:
- "8080:8080"
- "8080:8080"
networks:
- backend
- backend
depends_on:
- prometheus
- kaspool-monitor
restart: always

- kaspool-monitor
restart: always
# postgres-backup:
# image: kaspool-backup:0.4
# container_name: kaspool-backup
Expand Down

0 comments on commit 9334aa0

Please sign in to comment.