You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This docker stack will run many services (Traefik, Socat, Portainer, Nginx, Caddy, Whoami) in one simple copy-paste command. Please also refer the the [README](https://github.com/pascalandy/docker-stack-this/blob/master/README.md) at the root of this repo.
4
-
3
+
This docker stack will run many services (Traefik (with Authentification), Socat, Portainer, Nginx, Caddy, Whoami) in one simple copy-paste command. Please also refer the the [README](https://github.com/pascalandy/docker-stack-this/blob/master/README.md) at the root of this repo.
5
4
6
5
## Start here
7
6
1. Go to http://labs.play-with-docker.com/
8
7
2. Create *one instance*. Wait for the node to provision
9
8
3. Copy-paste:
10
9
11
-
#### STABLE setup (recommanded)
10
+
##Stable setup (recommanded)
12
11
13
12
```
14
13
echo "CONFIGURE ENV_VAR" && \
@@ -25,11 +24,11 @@ cd "$ENV_MONOREPO" && \
25
24
./runup.sh;
26
25
```
27
26
28
-
#### EDGE setup (not recommanded)
27
+
#### Edge setup (NOT recommanded)
29
28
30
29
```
31
30
echo "CONFIGURE ENV_VAR" && \
32
-
ENV_EDGE_BRANCH="1.54";
31
+
ENV_EDGE_BRANCH="1.55";
33
32
ENV_MONOREPO="traefik_stack5";
34
33
35
34
echo "Setup the stack" && \
@@ -42,64 +41,99 @@ cd "$ENV_MONOREPO" && \
42
41
./runup.sh;
43
42
```
44
43
45
-
The script `runup.sh`will do the hard and deplo the stacks for us. Once deployed, you will see:
44
+
This will run `play-with-docker-setup.sh` and `runup.sh`. These scripts will do the hard of deploying the stacks for us.
## Confirm that your services (containers) are running
76
+
75
77
1. When you see that all services are deployed, click on `80` to see the static landing page.
76
-
2. From the same URL generated by play-with-docker, in the address bar of your browser, add `/who1/` or `/who2/` or `/portainer/` to access other services.
78
+
2. From the same URL generated by play-with-docker, in the address bar of your browser, add `/who1/` or `/who2/` or `/who3/` or `/portainer/` to access other services.
Portainer requires a slash `/` at the end of the path. There is something to tweak with Traefik Labels in order for it to accept the proxy the request without the slash `/` at the end.
Insert this string in your `.configs/traefik.toml`.
125
+
126
+
#### What is Traefik?
127
+
128
+
[Traefik](https://docs.traefik.io/configuration/backends/docker/) is a powerful layer 7 reverse proxy. Once running, the proxy will give you access to many web apps. I think this is a solid use cases to understand how this reverse-proxy works.
129
+
130
+
#### Traefik version
131
+
132
+
In `toolproxy.yml` look for something like `traefik:1.7.6`.
In the active path, just execute those bash-scripts:
121
154
@@ -125,24 +158,9 @@ In the active path, just execute those bash-scripts:
125
158
126
159
**Bonus!**`./runctop.sh` is not a stack but a simple docker run to see the memory consumed by each containers.
127
160
128
-
129
-
## What is Traefik?
130
-
[Traefik](https://docs.traefik.io/configuration/backends/docker/) is a powerful layer 7 reverse proxy. Once running, the proxy will give you access to many web apps. I think this is a solid use cases to understand how this reverse-proxy works.
131
-
132
-
133
-
#### Traefik version
134
-
In `toolproxy.yml` look for something like `traefik:1.7.4`.
135
-
136
-
In some mono-repo I **my own traefik image**. Feel free to use the official images. It will not break anything.
137
-
138
-
139
-
## Backlog
140
-
Here is what’s missing to make this stack perfect?
161
+
## ToDo
141
162
142
-
- Secure traefik dashboard
143
163
- Use SSL endpoints (ACME)
144
-
- Fix the need to use a trailing slash `/` at the end of Portainer service
145
-
146
164
147
165
## Contributing
148
166
@@ -160,21 +178,7 @@ Thanks to the power of communities, this is where `1 + 1 = 3`.
160
178
- View the **GNU** license information at https://github.com/pascalandy/GNU-GENERAL-PUBLIC-LICENSE
161
179
- This Git repo is available at https://github.com/pascalandy/docker-stack-this
162
180
163
-
164
-
## Author
165
-
166
-
In the world of OSS (open source software) most people refer themselves as maintainers. The thing is… I hate this expression. It feels heavy and not fun. I much prefer author.
167
-
168
-
169
-
#### Hosting
170
-
171
-
Looking to **kick-start your website** (static page + a CMS) ? Take a look at [play-with-ghost](http://play-with-ghost.com/) (another project I shared). It allows you to see and edit websites made with **Ghost**. In short, you can try Ghost on the spot without having to sign up! Just use the dummy email & password provided.
172
-
173
-
#### I’m looking for help
174
-
175
-
If you have solid skills 🤓 with Docker Swarm, Linux bash and the gang and you’re looking to help a startup to launch a solid project, I would love to get to know you. Buzz me 👋 on Twitter [@askpascalandy](https://twitter.com/askpascalandy). You can see the things that are done and the things we have to do [here](http://firepress.org/blog/technical-challenges-we-are-facing-now/).
176
-
177
-
I’m looking for bright and caring people to join this [journey](http://firepress.org/blog/tag/from-the-heart/) with me.
181
+
## Keep in touch
178
182
179
183
```
180
184
____ _ _ _
@@ -185,4 +189,6 @@ I’m looking for bright and caring people to join this [journey](http://firepre
185
189
|___/
186
190
```
187
191
188
-
Shared by [Pascal Andy](https://pascalandy.com/blog/now/). Find me on [Twitter](https://twitter.com/askpascalandy).
192
+
- Pascal Andy’s [« now page »](https://pascalandy.com/blog/now/)
193
+
- Follow me on [Twitter](https://twitter.com/askpascalandy)
194
+
- Find more Ghost Themes on [play-with-ghost.com](https://play-with-ghost.com/)
0 commit comments