Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to connect redis with docker-compose #48

Open
karkovich opened this issue Jun 28, 2020 · 1 comment
Open

how to connect redis with docker-compose #48

karkovich opened this issue Jun 28, 2020 · 1 comment

Comments

@karkovich
Copy link

Hi,
I want to up redis and docker-nginx-auto-ssl with docker-compose and connect them to work together.
I tried to use this configuration:

version: '3'
services:
  redis:
    container_name: redis
    image: redis

  nginx:
    container_name: nginx
    image: valian/docker-nginx-auto-ssl
    restart: on-failure
    ports:
      - 80:80
      - 443:443
    environment: 
        STORAGE_ADAPTER: redis
        REDIS_HOST: redis
        REDIS_PORT: 6379

however i'm not sure it's valid:

    REDIS_HOST: redis
    REDIS_PORT: 6379
@Valian
Copy link
Owner

Valian commented Jul 2, 2020

@karkovich What's the problem you're having exactly? Could you describe it better? For now, I see you're missing some configuration options that would allow the certificate to be generated, for example, ALLOWED_DOMAINS and SITES. Refer to README to see what should be specified beside REDIS settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants