YOURLS
-
What is YOURLS?
YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener, on your server. You’ll have full control over your data, detailed stats, analytics, plugins, and more. It’s free and open-source.
LISCENSE
https://github.com/YOURLS/YOURLS/blob/master/LICENSE
Docker Composeversion: "3.1" services: mariadb: hostname: mariadb image: linuxserver/mariadb:latest environment: MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} MYSQL_DATABASE: ${DATABASE_NAME} MYSQL_USER: ${DATABASE_USER} MYSQL_PASSWORD: ${DATABASE_PASSWORD} PUID: ${PUID} PGID: ${PGID} TZ: ${TZ} networks: - yourls restart: unless-stopped volumes: - yourls-database:/config phpmyadmin: image: phpmyadmin:latest environment: PMA_HOST: mariadb PMA_PORT: 3306 PMA_ARBITRARY: 1 ports: - 4281:80 networks: - yourls restart: unless-stopped yourls: container_name: yourls hostname: yourls image: yourls:latest environment: YOURLS_DB_HOST: mariadb YOURLS_DB_NAME: ${DATABASE_NAME} YOURLS_DB_USER: ${DATABASE_USER} YOURLS_DB_PASS: ${DATABASE_PASSWORD} YOURLS_SITE: ${YOURLS_SITE} YOURLS_USER: ${YOURLS_USERNAME} YOURLS_PASS: ${YOURLS_PASSWORD} networks: - yourls ports: - 4280:80 restart: unless-stopped depends_on: - mariadb networks: yourls: volumes: yourls-database:.env
PUID=1000 PGID=1000 TZ=America/New_York YOURLS_SITE=http://example.com YOURLS_USERNAME=yourls-username YOURLS_PASSWORD=yourls-password DATABASE_NAME=yourls DATABASE_USER=yourls DATABASE_PASSWORD=yourls-database-password MYSQL_ROOT_PASSWORD=yourls-database-password