Skip to content

Commit

Permalink
add external webserver-port as secret-config value
Browse files Browse the repository at this point in the history
  • Loading branch information
guFalcon committed Apr 5, 2024
1 parent a168a25 commit c04e800
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/docs-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ jobs:
user: ${{ secrets.DEPLOY_SSH_USER }}
host: ${{ secrets.DEPLOY_SERVER }}
port: ${{ secrets.DEPLOY_SSH_PORT }}
- name: Touch .env file for deployment
run: touch ./deploy/.env
- name: Fill .env file for deployment
run: |
echo WEBSERVER_PORT=${{ secrets.WEBSERVER_PORT }} >> ./deploy/.env
- name: Deploy using SSH 🚛
uses: UnterrainerInformatik/ssh-deploy-action@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ To build, there is a Github action in this repository, but in order to configure
| DOCKER_HUB_PASSWORD | An access-token of your docker-hub account. |
| DOCKER_HUB_USER | The user of your docker-hub account. |
| KEYCLOAK_FILE | The copy-pasted contents of the file you get when you enter your Keycloak-realm as admin -> Client -> Installation -> Keycloak JSON File. |
| PORT | -> `.env`<br>The port your web-server will be accessible when started later on.<br>This variable will be written to a newly generated `.env` file that will reside in the root-directory of the node web-server. |
| PORT | -> `.env`<br>The port your web-server will be accessible when started later on.<br>This variable will be written to a newly generated `.env` file that will reside in the root-directory of the node web-server.<br>So that port is INSIDE this web-servers' docker-image that is created. |
| WEBSERVER_PORT | This is the EXTERNAL port of the web-server that is created.<br>This port must be unique and accessible on the deployment-machine. |
| VPN_OVPN_FILE | The OVPN file of your Open VPN configuration. This is used to reach the deployment-server (target host) to start conversation via SSH. |
| VPN_PASSWORD | The password of your VPN connection. |
| VPN_SERVER | The server to call for opening your VPN connection. |
Expand Down

0 comments on commit c04e800

Please sign in to comment.