-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finalize basic functionality around authorized keys
- Loading branch information
1 parent
4f0ea69
commit 344178d
Showing
5 changed files
with
11 additions
and
14 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
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,9 +1,9 @@ | ||
This project hard forked from [docker-bastion](https://github.com/binlab/docker-bastion/tree/master) at version [1.2.0](https://github.com/binlab/docker-bastion/releases/tag/v1.2.0) | ||
|
||
Per MIT license, copyright of this `bastion` sub-directory is Mark/binlab/mark.[email protected] and MIT license file perists. | ||
Per MIT license, copyright of this `bastion` sub-directory is Mark/binlab/mark.[email protected] and MIT license file persists. | ||
|
||
Sample SSH tunnel: | ||
Sample SSH tunnel to connect to container called `cht-sync-postgres-1` on remote server with IP `44.33.22.11`: | ||
|
||
```shell | ||
ssh -N -L 5432:cht-sync-postgres-1:5432 bastion@127.0.0.1 -p 22222 | ||
ssh -N -L 5432:cht-sync-postgres-1:5432 bastion@44.33.22.11 -p 22222 | ||
``` |
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,6 +1,6 @@ | ||
#!/bin/sh | ||
|
||
# todo 1 - get this to check github to see if $1 is in medic org and if they have an ssh key, fail if not | ||
# todo 2 - write this in node per Medic's requirements? | ||
curl -qs https://github.com/mrjones-plip.keys | ||
curl -qs https://github.com/dianabarsan.keys | ||
# todo: | ||
# - have config pass in a GH org | ||
# - get this to check github to see if $1 is in that org and if they have an ssh key, fail if not | ||
# - write this in node per Medic's requirements? would need to add node to the Dockerfile ... :/ |
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,7 +1,7 @@ | ||
services: | ||
postgres: | ||
ports: | ||
- 5432:5432 | ||
- 5432:${POSTGRES_PORT:-5432} | ||
|
||
pgadmin: | ||
image: dpage/pgadmin4 | ||
|
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