Skip to content

Commit

Permalink
🔧 Setting up to run using podman
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoapaes committed Feb 26, 2025
1 parent 566bb73 commit 3a94b61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ BORE_PORT=
BORE_SECRET=
BORE_MIN_PORT=
BORE_MAX_PORT=
NGINX_PORT=
NGINX_PORT=
DNS_RESOLVER=
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
build: ./nginx/
environment:
- BORE_HOST=${BORE_SERVER_HOST:-bore-server}
- DNS_RESOLVER=${DNS_RESOLVER:-127.0.0.11}
ports:
- ${NGINX_PORT:-80}:80
- ${BORE_PORT:-7835}:7835
Expand Down
2 changes: 1 addition & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server {
resolver 192.168.0.1 valid=10s;
resolver {{ default .Env.DNS_RESOLVER "127.0.0.11" }} valid=10s;
resolver_timeout 5s;

listen 80;
Expand Down

0 comments on commit 3a94b61

Please sign in to comment.