-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Migrate current compose examples to PWD capable stacks #941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,10 @@ Then point your web server to port 9000 of the container. | |
|
||
Note: This exposes the FastCGI socket to the Internet. Make sure to add proper firewall rules or use a private Docker network instead to prevent a direct access. | ||
|
||
## %%STACK%% | ||
|
||
Run `docker stack deploy -c stack.yml %%REPO%%` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not really sure whether this really provides a value-add for Adminer: Usually you would use an existing database, instead of creating a new one to use. The online demo using this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@TimWolla thx for the feedback. What about people that just want to try it the first time to see if it'll suite their needs?. Another use-case is whenever the image gets updated you can just launch the new version with a single click to try new features. IMHO the fact that you can just launch it with a single click and have it running without having to do anything at all is quite powerful. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @marcosnils Is this paragraph required to the online demo? In any case, I don't object this change, but this paragraph refers to a downloaded swarm.yml which IMO is unnecessary clutter for adminer. |
||
|
||
### Loading plugins | ||
|
||
This image bundles all official adminer plugins. You can find the list of plugins on GitHub: https://github.com/vrana/adminer/tree/master/plugins. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Use root/example as user/password credentials | ||
|
||
version: '3.1' | ||
|
||
services: | ||
|
||
adminer: | ||
image: adminer | ||
ports: | ||
- 8080:8080 | ||
|
||
db: | ||
image: mysql:5.6 | ||
environment: | ||
MYSQL_ROOT_PASSWORD: example |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '3.1' | ||
|
||
services: | ||
|
||
elasticsearch: | ||
image: elasticsearch | ||
|
||
kibana: | ||
image: kibana | ||
ports: | ||
- 5601:5601 |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: '3.1' | ||
|
||
services: | ||
joomla: | ||
image: joomla | ||
links: | ||
- joomladb:mysql | ||
ports: | ||
- 8080:80 | ||
environment: | ||
JOOMLA_DB_HOST: joomladb | ||
JOOMLA_DB_PASSWORD: example | ||
|
||
joomladb: | ||
image: mysql:5.6 | ||
environment: | ||
MYSQL_ROOT_PASSWORD: example |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: '3.1' | ||
|
||
services: | ||
|
||
kibana: | ||
image: kibana | ||
ports: | ||
- 5601:5601 | ||
|
||
elasticsearch: | ||
image: elasticsearch | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Use root/example as user/password credentials | ||
version: '3.1' | ||
|
||
services: | ||
|
||
db: | ||
image: mysql | ||
environment: | ||
MYSQL_ROOT_PASSWORD: example | ||
|
||
adminer: | ||
image: adminer | ||
ports: | ||
- 8080:8080 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Use postgres/example user/password credentials | ||
version: '3.1' | ||
|
||
services: | ||
|
||
db: | ||
image: postgres | ||
environment: | ||
POSTGRES_PASSWORD: example | ||
|
||
adminer: | ||
image: adminer | ||
ports: | ||
- 8080:8080 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This headline is either at the wrong position or of the wrong size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!.