Giter Site home page Giter Site logo

Comments (8)

HomeSitePro avatar HomeSitePro commented on May 17, 2024 1

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}

from docker-portainer-letsencrypt.

codespearhead avatar codespearhead commented on May 17, 2024 1

@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

from docker-portainer-letsencrypt.

HomeSitePro avatar HomeSitePro commented on May 17, 2024

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

from docker-portainer-letsencrypt.

Tofdu31 avatar Tofdu31 commented on May 17, 2024

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}

from docker-portainer-letsencrypt.

Tofdu31 avatar Tofdu31 commented on May 17, 2024

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

Thank you very much for your help.

Best regards,

Christophe

from docker-portainer-letsencrypt.

HomeSitePro avatar HomeSitePro commented on May 17, 2024

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

from docker-portainer-letsencrypt.

evertramos avatar evertramos commented on May 17, 2024

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

from docker-portainer-letsencrypt.

Tofdu31 avatar Tofdu31 commented on May 17, 2024

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

Sorry

from docker-portainer-letsencrypt.

Related Issues (12)

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.