SumiForum
    • Categories
    • Recent
    • Tags
    • Popular
    • Games
      • MFME
      • Virtual Pinball
    • Register
    • Login

    YOURLS

    Scheduled Pinned Locked Moved Docker Compose
    1 Posts 1 Posters 45 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SumisuS Offline
      Sumisu Administrator
      last edited by

      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 Compose

      version: "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
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Forum Stats

      0

      Online

      3

      Users

      30

      Topics

      30

      Posts

      Ad

      © 2024 Sumisu

      • Home
      • Categories
      • Popular