Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsys/yourls
:twisted_rightwards_arrows: Simple Docker container for YOURLS
https://github.com/dsys/yourls
Last synced: about 1 month ago
JSON representation
:twisted_rightwards_arrows: Simple Docker container for YOURLS
- Host: GitHub
- URL: https://github.com/dsys/yourls
- Owner: dsys
- License: bsd-3-clause
- Created: 2016-07-21T21:59:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T01:10:34.000Z (over 8 years ago)
- Last Synced: 2023-03-10T22:04:55.891Z (almost 2 years ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yourls
Simple Docker container for [YOURLS](https://yourls.org/).
## Usage
Available on Docker Hub as [pavlov/yourls](https://hub.docker.com/r/pavlov/yourls).
$ docker run \
-e YOURLS_DB_USER=root \
-e YOURLS_DB_PASS=supersecureyo \
-e YOURLS_DB_NAME=yourls \
-e YOURLS_DB_HOST=localhost \
-e YOURLS_DB_PREFIX=yourls_ \
-e YOURLS_SITE=http://pvlv.io \
-e YOURLS_COOKIEKEY=evenmoresecure \
-e YOURLS_USERS=adminusername:adminpassword \
-it pavlov/yourlsThe server will be listening on port 80. You'll need to set up a MariaDB/MySQL instance before getting started. Check out [config.php](https://github.com/pavlovml/yourls/blob/master/config.php) for a few more configuration options. Define a `/root` short-link to set the root redirect.
## Development
$ make build
$ make push## License & Acknowledgements
YOURLS is released under the [MIT license](https://github.com/YOURLS/YOURLS/blob/master/LICENSE.md). This Docker image is released under the [BSD 3-Clause license](https://github.com/pavlovml/yourls/blob/master/LICENSE).
This image is inspired by [tsgoff/docker-yourls](https://github.com/tsgoff/docker-yourls) and [fauzanariffin/docker-yourls](https://github.com/fauzanariffin/docker-yourls). Thanks for being awesome. :)