-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read openvpn client list through management console
- Loading branch information
Showing
5 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Create a file in this folder with your own generated credentials for the docker compose: | ||
|
||
```shell | ||
MYSQL_PASSWORD=DATABASE_PASSWORD | ||
SEMAPHORE_ADMIN_PASSWORD=YOUR_ADMIN_PASSWORD | ||
SEMAPHORE_ACCESS_KEY_ENCRYPTION="YOUR_RANDOM_KEY" | ||
MANAGEMENT_OPENVPN_PASSWORD=YOUR_OPENVPN_MANAGEMENT_CONSOLE_PASSWORD | ||
MANAGEMENT_OPENVPN_PORT=5555 | ||
OPENVPN_STATUS_PATH="" | ||
``` | ||
|
||
SEMAPHORE_ACCESS_KEY_ENCRYPTION value is generated with | ||
|
||
```shell | ||
head -c32 /dev/urandom | base64 | ||
``` | ||
|
||
|
||
OPENVPN_STATUS_PATH could be `/var/log/openvpn/openvpn-status.log` if the container have access to it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# From | ||
# https://docs.docker.com/storage/volumes/#back-up-restore-or-migrate-data-volumes | ||
# will save backup.tar in the current working directory | ||
# mysql container should be shutdown before doing this backup | ||
sudo docker run --rm --volumes-from semaphore-mysql-1 -v $(pwd):/backup ubuntu tar cvf /backup/backup.tar /var/lib/mysql | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
pyserial==3.5 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters