1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 10:17:26 +08:00

215 Commits

Author SHA1 Message Date
Alex Ellis
11f2f48ebe Introduce flag for TCP port 2016-11-23 08:58:08 +00:00
Marcos Lilljedahl
fc9e4962d3 Create folder structure 2016-11-22 15:23:58 -03:00
Marcos Nils
370bab5e27 Merge pull request #56 from akalipetis/hotfix-instance-name-rotation
Fix issue where instance name rotation was faulty
2016-11-22 15:19:25 +02:00
Marcos Nils
73d1ae94d8 Merge pull request #55 from akalipetis/hotfix-https
Make all CSS/JS links HTTPS
2016-11-22 15:17:22 +02:00
Marcos Nils
ccb44f91b6 Merge pull request #54 from akalipetis/hotfix-dockerfile-run
Create the `/app/pwd` directory, otherwise it crashes without a volume
2016-11-22 15:14:29 +02:00
Antonis Kalipetis
dd8f63363e
Fix issue where instance name rotation was faulty
Previously, if node2 was deleted in a node1, node2, node3 set, the next node creation would fail since it would always try to assign node3 as a name.
Now, the first available name is always assigned.

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2016-11-22 10:42:19 +02:00
Antonis Kalipetis
a2754057dd
Make all CSS/JS links HTTPS
This helps in making this work behind an HTTPS proxy

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2016-11-22 09:54:29 +02:00
Antonis Kalipetis
d9291cc52c
Create the /app/pwd directory, otherwise it crashes without a volume
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2016-11-22 09:48:13 +02:00
Marcos Lilljedahl
861355d4e3 Fix undetected bugs in instance renaming 2016-11-22 00:07:41 -03:00
Marcos Nils
3ec374ed95 Merge pull request #53 from franela/node_names
Add more friendly node names
2016-11-22 04:37:57 +02:00
Marcos Lilljedahl
8f5f9f2c90 Add container names to make attachable names work 2016-11-21 22:01:00 -03:00
Marcos Lilljedahl
a7d76f2720 Enumerate nodes to improve cluster configuration 2016-11-21 21:49:23 -03:00
Jonathan Leibiusky
dde46f897e Merge pull request #41 from franela/devenv
Develop on a container
2016-11-21 20:53:22 -03:00
Jonathan Leibiusky @xetorthio
903489c395 Remove unncesary make target and add instructions on how to use the
makefile
2016-11-21 20:48:29 -03:00
Jonathan Leibiusky @xetorthio
47d4ceab84 Give a good name for the nat rule 2016-11-21 20:44:58 -03:00
Jonathan Leibiusky @xetorthio
c2ec79584f Add a name to the container 2016-11-21 20:44:58 -03:00
Jonathan Leibiusky @xetorthio
60395a269a Adds a Makefile to make the virtual box creation, start and app run
reproducible.
This allows to develop PWD on a container, which is nice and also
necessary once "reverse proxy" feature is introduced.
2016-11-21 20:44:58 -03:00
Marcos Lilljedahl
69f9edc695 Change dind graph folder so it doesn't share the host 2016-11-21 14:13:48 -03:00
Marcos Nils
8b3892a34f Specify DIND image types. 2016-11-21 10:34:05 -03:00
Chris
7e368aaf1f Fix welcome image width 2016-11-21 07:17:00 -03:00
Marcos Nils
4dc98cc252 Merge pull request #39 from jpetazzo/master
Various improvements for the DinD image
2016-11-21 03:38:18 +02:00
Marcos Nils
4d16285fac Merge pull request #45 from franela/stats
Show cpu and memory stats of every node
2016-11-21 02:45:56 +02:00
Jérôme Petazzoni
130f9c8403 Update Dockerfile.dind 2016-11-18 15:53:36 -08:00
Jonathan Leibiusky @xetorthio
8b0749a9ba Show cpu and memory stats of every node 2016-11-18 13:52:47 -03:00
Jonathan Leibiusky
bc7dbead33 Merge pull request #44 from akalipetis/hotfix-xterm
Fix race conditions when initially resizing terminal
2016-11-18 09:20:46 -03:00
Antonis Kalipetis
7628864058
Fix race conditions when initially resizing terminal
Race conditions could happen if the Terminal container did not have the correct size during initialization.

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2016-11-18 12:48:49 +02:00
Jonathan Leibiusky @xetorthio
5aa6f52292 Also update hostname of new instances 2016-11-17 17:36:59 -03:00
Marcos Lilljedahl
0f3c3c254a Add supergrok instructions 2016-11-17 12:34:48 -03:00
Jonathan Leibiusky @xetorthio
6d4c1e7e15 Remove unsed lib 2016-11-16 18:19:57 -03:00
Marcos Nils
316ff39821 Revert ngrok instance 2016-11-16 16:37:50 -03:00
Marcos Nils
c12c506953 Merge pull request #40 from franela/recaptcha_disable
Allow to disable recaptcha explicitly by env variable
2016-11-16 20:45:35 +02:00
Jonathan Leibiusky
e45700c904 Merge pull request #38 from franela/server-disconnected-alert
Show a server disconnected message
2016-11-16 09:36:45 -03:00
Jonathan Leibiusky @xetorthio
50943ce516 Show a server disconnected message when user is not able to connect to
server.
2016-11-16 09:35:43 -03:00
Marcos Lilljedahl
a10f247812 Allow to disable recaptcha explicitly by env variable
The reason for this is because sometimes in dev enviroments recaptcha
will might return a wrong answer, so it's nice to have a way to
explicitly disable it
2016-11-16 01:23:50 -03:00
Jonathan Leibiusky
7f9cf57f8f Merge pull request #37 from franela/google-recaptcha
Validates that user is a human.
2016-11-15 22:08:42 -03:00
Marcos Lilljedahl
a97a7c793e Restart sh if user exits session accidentally 2016-11-15 18:54:51 -03:00
Jonathan Leibiusky @xetorthio
2afff63f4c Remove typo introduced my @marcosnils! ahem :P 2016-11-15 17:03:26 -03:00
Jonathan Leibiusky @xetorthio
af9986c0f8 Validates that user is a human.
Add google recaptcha as an initial page before creating any session.
To configure recaptcha there are 2 environment variables that are needed
`GOOGLE_RECAPTCHA_SITE_KEY` and `GOOGLE_RECAPTCHA_SITE_SECRET`.
The code contains development defaults that should be set in production
to real values.
**NOTICE: Development defaults assume that the domain is `localhost`**
2016-11-15 16:53:44 -03:00
Marcos Nils
e574a95baf Change index hour count. 2016-11-15 16:46:18 -03:00
Marcos Nils
770945ab86 Merge pull request #36 from franela/robots
Add robots file
2016-11-15 20:02:02 +02:00
Jonathan Leibiusky
e27ccefc2b Merge pull request #35 from franela/expire-sessions-onload
After loading saved sessions schedule them to expire
2016-11-15 15:00:39 -03:00
Jonathan Leibiusky @xetorthio
70c4d33e6b Add robots file 2016-11-15 14:58:11 -03:00
Jonathan Leibiusky @xetorthio
802375bbf7 After loading saved sessions schedule them to expire 2016-11-15 14:49:50 -03:00
Jonathan Leibiusky
a552e19ec6 Merge pull request #34 from franela/session-expiration-clock
Add expiration clock to sessions
2016-11-15 13:37:29 -03:00
Jonathan Leibiusky @xetorthio
db074a5804 Add expiration clock to sessions 2016-11-15 13:20:59 -03:00
Marcos Lilljedahl
939c045198 Change default dind image and prevent session panic 2016-11-15 01:46:29 -03:00
Marcos Lilljedahl
cab8eef9da Add ignore pwd folder 2016-11-14 22:12:59 -03:00
Marcos Lilljedahl
e8d69d6a21 Fix session config for docker image 2016-11-14 22:08:53 -03:00
Marcos Nils
6a0e07aeec Merge pull request #32 from franela/session_persist
Session persist
2016-11-15 02:33:31 +02:00
Marcos Lilljedahl
23bb4eaf69 Add session persistence and use attach instead of exec 2016-11-14 21:29:32 -03:00