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

image teamatldocker/nginx is not available #144

Open
lgcmotta opened this issue Oct 28, 2020 · 3 comments
Open

image teamatldocker/nginx is not available #144

lgcmotta opened this issue Oct 28, 2020 · 3 comments

Comments

@lgcmotta
Copy link

lgcmotta commented Oct 28, 2020

Description

I'm developing an application that will receive webhooks from Jira. I need to get Jira running using HTTPS to set OAuth authentication, but following the steps described in README to get this done, I found that the image "teamatldocker/nginx" it's not available anymore in docker hub.

Steps to Reproduce

*  Set environment variable JIRA_PROXY_NAME in docker-compose to 192.168.99.100
*  Set environment variable JIRA_PROXY_PORT in docker-compose to 443
*  Set environment variable JIRA_PROXY_SCHEME in docker-compose to https
*  Create Nginx service in docker-compose with the provided variables in README.md

Logs will put out

    5>Pulling nginx (teamatldocker/nginx:)...
    5>The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing

docker-compose.yml

version: "3.8"

services:
  jira:
    image: teamatldocker/jira
    container_name: jira
    networks:
      - jiranet
    volumes:
      - jiradata:/var/atlassian/jira
    ports:
      - "8080:8080"
    depends_on:
      - postgresql
    environment:
      - JIRA_DATABASE_URL=postgresql://postgres@postgresql/jiradb
      - JIRA_DB_PASSWORD=<PASSWORD>
      - SETENV_JVM_MINIMUM_MEMORY=2048m
      - SETENV_JVM_MAXIMUM_MEMORY=4096m
      - JIRA_PROXY_NAME=192.168.99.100
      - JIRA_PROXY_PORT=443
      - JIRA_PROXY_SCHEME=https
      - DOCKER_WAIT_HOST=postgresql
      - DOCKER_WAIT_PORT=5432
    logging:
      driver: "json-file"
      options:
        max-size: "500k"
        max-file: "50"
  
  nginx:
    image: teamatldocker/nginx
    container_name: nginx
    networks:
       - jiranet
    volumes:
      - nginxdata:/etc/nginx/templates
    ports:
       - "443:443"
    environment:
       - SERVER1REVERSE_PROXY_LOCATION1=/
       - SERVER1REVERSE_PROXY_PASS1=http://jira:8080
       - SERVER1CERTIFICATE_DNAME=/CN=CrustyClown/OU=SpringfieldEntertainment/O=crusty.springfield.com/L=Springfield/C=US
       - SERVER1HTTPS_ENABLED=true
       - SERVER1HTTP_ENABLED=false

  postgresql:
    image: postgres:9.5-alpine
    container_name: postgresql
    networks:
      - jiranet
    ports:
      - "5432:5432"
    volumes:
      - postgresqldata:/var/lib/postgresql/data
    environment:
      - POSTGRES_PASSWORD=<PASSWORD>
      - POSTGRES_DB=jiradb
      - POSTGRES_ENCODING=UNICODE
      - POSTGRES_COLLATE=C
      - POSTGRES_COLLATE_TYPE=C
    logging:
      driver: "json-file"
      options:
        max-size: "500k"
        max-file: "50"

volumes:
  jiradata:
    external: false
  postgresqldata:
    external: false
  nginxdata:
    external: false

networks:
  jiranet:
    driver: bridge
@niklasden
Copy link

Same issue here.
Have you found a workaround?
I have tried running the vanilla nginx image, without luck so far.

@jhult
Copy link
Member

jhult commented Jun 14, 2021

It is old/out-dated but what using this image?

https://hub.docker.com/r/blacklabelops/nginx

@blacklabelops
Copy link
Member

The github repository is here:

https://github.com/blacklabelops-legacy/nginx

Do not use this outdated version for https! You have to update the image: Alpine version and Nginx version.

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

No branches or pull requests

4 participants