Run update.sh
This commit is contained in:
parent
531ed68888
commit
a36e486f33
|
|
@ -16,9 +16,9 @@ WARNING:
|
||||||
|
|
||||||
# Supported tags and respective `Dockerfile` links
|
# Supported tags and respective `Dockerfile` links
|
||||||
|
|
||||||
- [`22.2.3`, `22.2`, `22`, `latest`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/22/Dockerfile)
|
- [`22.2.4`, `22.2`, `22`, `latest`](https://github.com/erlang/docker-erlang-otp/blob/58968d1cd9c4e8770763c94eeb3cdea8cef1024c/22/Dockerfile)
|
||||||
- [`22.2.3-slim`, `22.2-slim`, `22-slim`, `slim`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/22/slim/Dockerfile)
|
- [`22.2.4-slim`, `22.2-slim`, `22-slim`, `slim`](https://github.com/erlang/docker-erlang-otp/blob/58968d1cd9c4e8770763c94eeb3cdea8cef1024c/22/slim/Dockerfile)
|
||||||
- [`22.2.3-alpine`, `22.2-alpine`, `22-alpine`, `alpine`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/22/alpine/Dockerfile)
|
- [`22.2.4-alpine`, `22.2-alpine`, `22-alpine`, `alpine`](https://github.com/erlang/docker-erlang-otp/blob/58968d1cd9c4e8770763c94eeb3cdea8cef1024c/22/alpine/Dockerfile)
|
||||||
- [`21.3.8.12`, `21.3.8`, `21.3`, `21`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/21/Dockerfile)
|
- [`21.3.8.12`, `21.3.8`, `21.3`, `21`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/21/Dockerfile)
|
||||||
- [`21.3.8.12-slim`, `21.3.8-slim`, `21.3-slim`, `21-slim`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/21/slim/Dockerfile)
|
- [`21.3.8.12-slim`, `21.3.8-slim`, `21.3-slim`, `21-slim`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/21/slim/Dockerfile)
|
||||||
- [`21.3.8.12-alpine`, `21.3.8-alpine`, `21.3-alpine`, `21-alpine`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/21/alpine/Dockerfile)
|
- [`21.3.8.12-alpine`, `21.3.8-alpine`, `21.3-alpine`, `21-alpine`](https://github.com/erlang/docker-erlang-otp/blob/33cf9d0c7a31af534af944220523ac0f236d1fe2/21/alpine/Dockerfile)
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ If you'd like to be able to access the instance from the host without the contai
|
||||||
$ docker run --name some-yourls --link some-mysql:mysql -p 8080:80 -d yourls
|
$ docker run --name some-yourls --link some-mysql:mysql -p 8080:80 -d yourls
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, access it via `http://localhost:8080` or `http://host-ip:8080` in a browser.
|
Then, access it via `http://localhost:8080/admin/` or `http://host-ip:8080/admin/` in a browser.
|
||||||
|
|
||||||
If you'd like to use an external database instead of a linked `mysql` container, specify the hostname and port with `YOURLS_DB_HOST` along with the password in `YOURLS_DB_PASS` and the username in `YOURLS_DB_USER` (if it is something other than `root`):
|
If you'd like to use an external database instead of a linked `mysql` container, specify the hostname and port with `YOURLS_DB_HOST` along with the password in `YOURLS_DB_PASS` and the username in `YOURLS_DB_USER` (if it is something other than `root`):
|
||||||
|
|
||||||
|
|
@ -122,7 +122,7 @@ services:
|
||||||
|
|
||||||
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/be1a84b44ec3c028aa0ac5a9c8e413e43dfe05e4/yourls/stack.yml)
|
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/be1a84b44ec3c028aa0ac5a9c8e413e43dfe05e4/yourls/stack.yml)
|
||||||
|
|
||||||
Run `docker stack deploy -c stack.yml yourls` (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).
|
Run `docker stack deploy -c stack.yml yourls` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080/admin/`, `http://localhost:8080/admin/`, or `http://host-ip:8080/admin/` (as appropriate).
|
||||||
|
|
||||||
## Adding additional libraries / extensions
|
## Adding additional libraries / extensions
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue