evertramos / docker-portainer-letsencrypt

Portainer docker container over SSL Certificate using Let's Encrypt automated by our webproxy docker-compose-letsencrypt-nginx-proxy
GNU Lesser General Public License v3.0
189 stars 52 forks source link

New version Portainer 2.0 #8

Closed Tofdu31 closed 10 months ago

Tofdu31 commented 3 years ago

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

HomeServerPro commented 3 years ago

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

Tofdu31 commented 3 years ago

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}
HomeServerPro commented 3 years ago

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}
Tofdu31 commented 3 years ago

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

Thank you very much for your help.

Best regards,

Christophe

HomeServerPro commented 3 years ago

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

evertramos commented 3 years ago

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

Tofdu31 commented 3 years ago

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

Sorry

codespearhead commented 10 months ago

@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