Skip to content

Commit

Permalink
Fix passing VPN Port info
Browse files Browse the repository at this point in the history
  • Loading branch information
wiorca committed Jan 12, 2021
1 parent 4fab434 commit de0985f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM ubuntu:20.04
# Build arguments
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION=0.0.11
ARG VERSION=0.0.12

# Labels
LABEL com.wiorca.build-date=$BUILD_DATE \
Expand Down
2 changes: 1 addition & 1 deletion scripts/vpn-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ echo "Port forward is $VPN_PORT"
/opt/scripts/app-setup.sh

# Run the user app in the docker container
su -g docker_group - docker_user -c "/opt/scripts/app-startup.sh"
su -w VPN_PORT -g docker_group - docker_user -c "/opt/scripts/app-startup.sh"

0 comments on commit de0985f

Please sign in to comment.