Sign inSign up

ponlponl123/redirector

By ponlponl123

•Updated about 1 year ago

a simple, lightweight and performance http redirector.

Image
0

364

ponlponl123/redirector repository overview

Source code: https://github.com/Ponlponl123-Labs/redirector⁠

⁠ENV

PORT=3000
SINGLE_THREADED=false # true / false

REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASS=
REDIS_DB=0

DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=user
DB_PASS=pass
DB_NAME=database

⁠docker-compose.yml

services:
  redirector:
    build: .
    ports:
      - 8080:8080
    environment:
      - PORT=8080
      - SINGLE_THREADED=false

      - DB_HOST=127.0.0.1
      - DB_PORT=3306
      - DB_USER=user
      - DB_PASS=pass
      - DB_NAME=mydb
      
      - REDIS_HOST=127.0.0.1
      - REDIS_PORT=6379
      - REDIS_PASS=
      - REDIS_DB=0
    restart: always

Tag summary

Content type

Image

Digest

sha256:9278cab34…

Size

2.1 MB

Last updated

about 1 year ago

docker pull ponlponl123/redirector