:link: A Flask and Redis based fast, feature rich and free URL shortener site. https://keeplink.in
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 629B

  1. version: "3"
  2. networks:
  3. keeplinkin:
  4. external: false
  5. services:
  6. app:
  7. build: .
  8. environment:
  9. - FLASK_APP=keeplinkin
  10. - FLASK_ENV=dev
  11. - SECRET_KEY=dev
  12. - ENV PYTHONPATH=/home/app
  13. - ENV REDIS_HOST=redis
  14. - SITE_URL=http://localhost:5000
  15. volumes:
  16. - .:/home/app
  17. ports:
  18. - "5000:8000"
  19. depends_on:
  20. - redis
  21. networks:
  22. - keeplinkin
  23. redis:
  24. image: "redis:latest"
  25. volumes:
  26. - "./redis/conf:/usr/local/etc/redis/"
  27. - "./redis/data:/data"
  28. command:
  29. - /usr/local/etc/redis/redis.conf
  30. networks:
  31. - keeplinkin
  32. tty: true