![]() ![]() #下面是开启机器人需要用到的,我没有使用 注释掉 #traefik: # image: traefik:latest # restart: unless-stopped # command: > # traefik # -docker # -acme=true # -acme.domains='' # -acme.entrypoint=https # -acme.storagefile=acme.json # -defaultentrypoints=http # -defaultentrypoints=https # -entryPoints='Name:http Address::80 Redirect.EntryPoint:https' # -entryPoints='Name:https Address::443 TLS.Certificates:' # ports: # - 80:80 # - 443:443 # volumes: # - /var/run/docker.sock:/var/run/docker.sock # this is used to expose the hubot port for notifications on the host on port 3001, e.g. EXTERNAL_SCRIPTS=hubot-help,hubot-seen,hubot-links,hubot-diagnostics # you can add more scripts as you'd like here, they need to be installable by npm Image: rocketchat/hubot-rocketchat:latest URL used to access your Rocket.Chat instance: ROOTURL Port Rocket. # hubot, the popular chatbot (add the bot user first and change the password before starting this image) # it will run the command and remove himself (it will not stay running) "traefik.enable=false" # this container's job is just run the command to initialize the replica set. data/dump:/dump command: mongod -smallfiles -oplogSize 128 -replSet rs0 -storageEngine=mmapv1 MAIL_URL=smtp://smtp.email #smtp邮件 # - HTTP_PROXY= # - HTTPS_PROXY= Install Docker (including the 'post-installation' steps to allow non-root users to run Docker) and Docker Compose on your server (we recommend Ubuntu 16.04 or the older 14.04). ![]() Restart: unless-stopped #在容器退出时总是重启容器,但是不考虑在Docker守护进程启动时就已经停止了的容器 This is the way I now deploy Rocket.Chat, Wekan, and MongoDB together. Image: rocketchat/rocket.chat:latest #镜像 command: > #引用命令Įcho \"Tried $ $i times. ![]() Hope it helped someone wandering by the surroundings.Centos7.7 docker 19.03.8 go 1.4 docker-compose version 1.25.5, build 8a1c60f6 docker-py version: 4.1.0 CPython version: 3.7.5 OpenSSL version: OpenSSL 1.1.0l mongodb 4.0 2 安装docker 3 安装docker-compose I think it's rather a IPv6 / IPv4 binding problem when assigned to localhost. I may be able to run some tests if needed !ĮDIT : Our problem looks definitely related to firewall rules, but can't figure why the entries correctly added by Docker are not sufficient to allow a simple connection as above.ĮDIT 2 : This was definitely not related to firewall rules, as all other tested containers work well. env file to fill in the variable line 21: this is the ip rocketchat will report to the clients, use your public ip or the host ip instead of 0.0.0.0 line 22: correct, incorrect. env file to fill in the variable line 18-20: use an. The containers appear to be running, docker ps shows me: Tried access 172.17.0.3 as well but no luck :( "ROOT_URL= "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |