docker-compose.fragment.sh 282 B

123456789101112131415
  1. #!/usr/bin/sh
  2. cat <<EOF
  3. redis:
  4. image: redis:alpine
  5. restart: always
  6. tty: false
  7. volumes:
  8. - ./docker/redis/redis.conf:/etc/redis/redis.conf
  9. ports:
  10. - 6379:6379
  11. command: redis-server /etc/redis/redis.conf
  12. EOF