Skip to content

Commit

Permalink
Merge pull request #3 from QCPOLstakepool/dev
Browse files Browse the repository at this point in the history
Configuration host value for watcher
  • Loading branch information
zargarzadehm authored Dec 11, 2023
2 parents f6d9b22 + 30ce5ba commit 17b0302
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/watcher/deploy-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ POSTGRES_PORT=5432 # 5432 is set as default, you can change it

# Optional Environments

WATCHER_HOST= # (default is 127.0.0.1 if no value is set)

WATCHER_PORT= # (default is 3030 if no value is set)

WATCHER_IMAGE_VERSION= # Don't change it!
Expand Down
2 changes: 1 addition & 1 deletion watcher/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ services:
- rosen_network
restart: always
ports:
- 127.0.0.1:${WATCHER_PORT:-3030}:80
- ${WATCHER_HOST:-127.0.0.1}:${WATCHER_PORT:-3030}:80
volumes:
- nginx-logs:/var/log/nginx
depends_on:
Expand Down
1 change: 1 addition & 0 deletions watcher/env.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ POSTGRES_DB=
POSTGRES_PORT=5432

# Optional Environments
WATCHER_HOST=
WATCHER_PORT=
WATCHER_IMAGE_VERSION=
UI_IMAGE_VERSION=

0 comments on commit 17b0302

Please sign in to comment.