Comments (8)
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.
@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.
Just change line in doccker-compose.yml
image: portainer/portainer-ce
from docker-portainer-letsencrypt.
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.
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.
It seems that the @evertramos is no longer active. Hope i'm wrong...
from docker-portainer-letsencrypt.
I am arount guys... did you all tested it? Make a pull request then I will merge it.
from docker-portainer-letsencrypt.
Yes, it's ok for me ! But, I do not know how to do Pull Request...
Sorry
from docker-portainer-letsencrypt.
Related Issues (12)
- Create docker container with exposed port using portainer HOT 2
- 502: Bad Gateway | No Live Upstream HOT 6
- bug: network.external.name is deprecated HOT 1
- bug: error upon reading and writing env file via start.sh on MacOS
- Sorry... HOT 1
- About ssl certificates HOT 1
- PORTAINER_SSL_PATH in .env.sample HOT 8
- Portainer not able to use docker-compose file v3 HOT 2
- Portainer not running HOT 4
- ERR_TOO_MANY_REDIRECTS HOT 1
- Portainer goes down when using Docker API HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-portainer-letsencrypt.