installing rocket-chat using docker-compose
OS version: Ubuntu 20.04
App version: docker.io 20.10.12
Steps to reproduce:
- fresh install ubuntu 20.04
- install docker.io docker-compose, config docker run without sudo
- curl
compose.yml
and.env
fromhttps://github.com/RocketChat/Docker.Official.Image
- rename
compose.yml
todocker-compose.yml
,env.example
to.env
docker-compose up -d
got error:
ERROR: Invalid interpolation format for "rocketchat" option in service "services": "registry.rocket.chat/rocketchat/rocket.chat:${RELEASE:-latest"
then I change the
"registry.rocket.chat/rocketchat/rocket.chat:${RELEASE:-latest"
in the docker-compose.yml to
registry.rocket.chat/rocketchat/rocket.chat:5.4.3
the the error come to
ERROR: Invalid interpolation format for "rocketchat" option in service "services": "${MONGO_URL:-mongodb://${MONGODB_ADVERTISED_HOSTNAME:-mongodb}:${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}/${MONGODB_DATABASE:-rocketchat}?replicaSet=${MONGODB_REPLICA_SET_NAME:-rs0}}"
So, I assume that the docker-compose env variable doesnât work on my machine.
How could I fix it?