docker-portainer-letsencrypt icon indicating copy to clipboard operation
docker-portainer-letsencrypt copied to clipboard

New version Portainer 2.0

Open Tofdu31 opened this issue 4 years ago • 7 comments

Hi Evert,

There is a new release of Portainer (Release 2.0.0) https://github.com/portainer/portainer/releases/tag/2.0.0

But with your repository, I have a old version : 1.24.1

Is it possible to update your repository.

Thank a lot

Have a nice day

Christophe

Tofdu31 avatar Sep 23 '20 11:09 Tofdu31

Just change line in doccker-compose.yml image: portainer/portainer-ce

HomeServerPro avatar Sep 25 '20 19:09 HomeServerPro

Hi, Thank for your reply, but is not good. Are you sure ?

version: '3'

services:
  portainer:
    container_name: ${CONTAINER_NAME}
    restart: unless-stopped
    image: portainer/portainer-ce
    volumes:
      - ${PORTAINER_DATA_PATH}:/data
      - ${PORTAINER_SSL_PATH}:/certs
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      VIRTUAL_HOST: ${DOMAINS}
      LETSENCRYPT_HOST: ${DOMAINS}
      LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
      SSL:
      SSLCERT: ${PORTAINER_SSL_CERTIFICATE}
      SSLKEY: ${PORTAINER_SSL_KEY}

networks:
    default:
       external:
         name: ${NETWORK}

Tofdu31 avatar Sep 26 '20 00:09 Tofdu31

Hi, Thank for your reply, but is not good. Are you sure ?

Sorry, my mistake... Realy working .yml:

version: '3'

services:
  portainer:
    container_name: ${CONTAINER_NAME}
    restart: unless-stopped
    image: portainer/portainer-ce
    volumes:
      - ./${CONTAINER_NAME}:/data
      - ${PORTAINER_SSL_PATH}:/certs
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - "9000:9000"
      - "8000:8000"
    expose:
      - "9000"
      - "8000"
    environment:
      VIRTUAL_HOST: ${DOMAINS}
      VIRTUAL_PORT: 9000
      LETSENCRYPT_HOST: ${DOMAINS}
      LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
      SSL:
      SSLCERT: ${PORTAINER_SSL_CERTIFICATE}
      SSLKEY: ${PORTAINER_SSL_KEY}

networks:
    default:
       external:
         name: ${NETWORK}

HomeServerPro avatar Oct 12 '20 09:10 HomeServerPro

Thanks it works perfectly! @evertramos it's time to update your docker-compose.yml

Thank you very much for your help.

Best regards,

Christophe

Tofdu31 avatar Oct 20 '20 09:10 Tofdu31

It seems that the @evertramos is no longer active. Hope i'm wrong...

HomeServerPro avatar Oct 20 '20 18:10 HomeServerPro

I am arount guys... did you all tested it? Make a pull request then I will merge it.

evertramos avatar Oct 22 '20 21:10 evertramos

Yes, it's ok for me ! But, I do not know how to do Pull Request...

Sorry

Tofdu31 avatar Oct 23 '20 06:10 Tofdu31

@HomeSitePro Is there any difference between the current docker-compose.yml file and the one you've suggested in this thread?

Because it seems that there isn't, in which case I suggest closing this thread. @evertramos

codespearhead avatar Oct 22 '23 15:10 codespearhead