Code Monkey home page Code Monkey logo

Comments (5)

k33g avatar k33g commented on September 13, 2024

update: I found a way by using Docker Compose

services:
  redis-server:
    image: redis:latest
    container_name: redis-server
    ports:
      - 6379:6379

  atmo-server:
    image: suborbital/atmo:latest
    container_name: atmo-server
    entrypoint: atmo
    environment:
      - ATMO_HTTP_PORT=8080
    ports:
      - 8080:8080
    volumes:
      - /workspace/atmo-redis-workspace/services:/home/atmo
  

from e2core.

cohix avatar cohix commented on September 13, 2024

@k33g yeah, when using subo dev, Atmo is running in Docker, and if you have Redis running on your laptop outside of Docker, there aren't really any good ways to make that connection. I think your solution is the best one 👍🏼

from e2core.

k33g avatar k33g commented on September 13, 2024

@cohix what about authentication?

from e2core.

cohix avatar cohix commented on September 13, 2024

@k33g Apologies, I missed that part!

The config allows for a username and password as well:

type RedisConfig struct {
	ServerAddress string `json:"serverAddress" yaml:"serverAddress"`
	Username      string `json:"username" yaml:"username"`
	Password      string `json:"password" yaml:"password"`
}

Let me know if that works :)

from e2core.

k33g avatar k33g commented on September 13, 2024

@cohix sorry for the late answer. It works like a charm 😃

from e2core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.