Skip to content

Commit 3aac12e

Browse files
committed
change port
1 parent af2dfa8 commit 3aac12e

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

docker-compose2.0/docker-compose.setup.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ services:
1818
edge:
1919
restart: unless-stopped
2020
image: ghcr.io/defguard/defguard-proxy:${DEFGUARD_PROXY_TAG:?DEFGUARD_PROXY_TAG is required}
21+
env_file: .env
2122
volumes:
2223
- ./.volumes/certs/edge:/etc/defguard/certs
2324
ports:
@@ -26,13 +27,16 @@ services:
2627
gateway:
2728
restart: unless-stopped
2829
image: ghcr.io/defguard/gateway:${DEFGUARD_GATEWAY_TAG:?DEFGUARD_GATEWAY_TAG is required}
30+
env_file: .env
2931
cap_add:
3032
- NET_ADMIN
3133
volumes:
3234
- ./.volumes/certs/gateway:/etc/defguard/certs
3335
environment:
3436
DEFGUARD_STATS_PERIOD: 10
3537
HEALTH_PORT: 55003
38+
ports:
39+
- "51820:51820/udp"
3640

3741
db:
3842
restart: unless-stopped

docker-compose2.0/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ set -euo pipefail
1111
# --help show this help and exit
1212

1313
COMPOSE_FILE_URL="https://raw.githubusercontent.com/defguard/deployment/one-liner-2.0/docker-compose2.0/docker-compose.setup.yaml"
14-
COMPOSE_FILE="./docker-compose.setup.yaml"
14+
COMPOSE_FILE="./docker-compose.yaml"
1515
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" 2>/dev/null && pwd || pwd)"
16-
COMPOSE_FILE_LOCAL="${SCRIPT_DIR}/docker-compose.setup.yaml"
16+
COMPOSE_FILE_LOCAL="${SCRIPT_DIR}/docker-compose.yaml"
1717

1818
DEFGUARD_CORE_TAG="pre-release"
1919
DEFGUARD_PROXY_TAG="pre-release"

0 commit comments

Comments
 (0)