- Start at https://labs.play-with-docker.com/
- Click on "Add new instance"
$ docker pull yourls
wget https://raw.githubusercontent.com/docker-library/docs/be1a84b44ec3c028aa0ac5a9c8e413e43dfe05e4/yourls/stack.yml
(paste is Shift+Ins)- Click on "Open Port", pick 8080 : this opens a new window like http://ip172-18-0-12-c4mjljfnjsv0008234og-8080.direct.labs.play-with-docker.com/
- Click on "Editor" and edit
stack.yml
(or use$ vim stack.yml
) and replacehttps://example.com
with the above URL $ docker-compose -f stack.yml up
- YOURLS now available on http://ip172-18-0-12-c4mjljfnjsv0008234og-8080.direct.labs.play-with-docker.com/admin/
Created
August 30, 2021 20:15
-
-
Save ozh/436d6cb92edb45630141ebb2d51d26cf to your computer and use it in GitHub Desktop.
Run YOURLS with play-with-docker.com
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment