mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-14 04:35:49 +02:00
add yourls
This commit is contained in:
parent
f05b4d361a
commit
aa0ecde5fa
@ -300,6 +300,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] v2ray/official :cn:
|
- [x] v2ray/official :cn:
|
||||||
- [x] centurylink/watchtower
|
- [x] centurylink/watchtower
|
||||||
- [x] wekanteam/wekan
|
- [x] wekanteam/wekan
|
||||||
|
- [x] yourls
|
||||||
- [x] zookeeper
|
- [x] zookeeper
|
||||||
- [x] elkozmon/zoonavigator
|
- [x] elkozmon/zoonavigator
|
||||||
|
|
||||||
|
8
yourls/README.md
Normal file
8
yourls/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
yourls
|
||||||
|
======
|
||||||
|
|
||||||
|
[YOURLS][1] stands for Your Own URL Shortener. It is a small set of PHP scripts
|
||||||
|
that will allow you to run your own URL shortening service (a la TinyURL or
|
||||||
|
Bitly).
|
||||||
|
|
||||||
|
[1]: http://yourls.org/
|
28
yourls/docker-compose.yml
Normal file
28
yourls/docker-compose.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
version: '3.1'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
yourls:
|
||||||
|
image: yourls
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
environment:
|
||||||
|
- YOURLS_DB_HOST=mysql
|
||||||
|
- YOURLS_DB_USER=root
|
||||||
|
- YOURLS_DB_PASS=root
|
||||||
|
- YOURLS_DB_NAME=yourls
|
||||||
|
- YOURLS_USER=admin
|
||||||
|
- YOURLS_PASS=admin
|
||||||
|
- YOURLS_SITE=https://yourls.easypi.pro
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
image: mysql:5.7
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=root
|
||||||
|
- MYSQL_DATABASE=yourls
|
||||||
|
restart: always
|
Loading…
Reference in New Issue
Block a user