Using the dockerfile shown here, the version is 8.0.2 as of the time of this post. I changed the image from espocrm/espocrm to espocrm/espocrm:7.5.6, but the version still shows as 8.0.2. It doesn't seem possible, so I'm not sure what I am doing wrong.


Code:
version: '3.8'
services:
mysql:
image: mysql:8
container_name: mysql
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: root_password
MYSQL_DATABASE: espocrm
MYSQL_USER: espocrm
MYSQL_PASSWORD: database_password
volumes:
- mysql:/var/lib/mysql
restart: always
espocrm:
image: espocrm/espocrm:7.5.6
container_name: espocrm
environment:
ESPOCRM_DATABASE_HOST: mysql
ESPOCRM_DATABASE_USER: espocrm
ESPOCRM_DATABASE_PASSWORD: database_password
ESPOCRM_ADMIN_USERNAME: admin
ESPOCRM_ADMIN_PASSWORD: password
ESPOCRM_SITE_URL: "http://localhost:8080"
volumes:
- espocrm:/var/www/html
restart: always
ports:
- 8080:80
espocrm-daemon:
image: espocrm/espocrm:7.5.6
container_name: espocrm-daemon
volumes:
- espocrm:/var/www/html
restart: always
entrypoint: docker-daemon.sh
espocrm-websocket:
image: espocrm/espocrm:7.5.6
container_name: espocrm-websocket
environment:
ESPOCRM_CONFIG_USE_WEB_SOCKET: "true"
ESPOCRM_CONFIG_WEB_SOCKET_URL: "ws://localhost:8082"
ESPOCRM_CONFIG_WEB_SOCKET_ZERO_M_Q_SUBSCRIBER_DSN: "tcp://*:7777"
ESPOCRM_CONFIG_WEB_SOCKET_ZERO_M_Q_SUBMISSION_DSN: "tcp://espocrm-websocket:7777"
volumes:
- espocrm:/var/www/html
restart: always
entrypoint: docker-websocket.sh
ports:
- 8082:8080
volumes:
mysql:
espocrm:
Code:
$ docker compose -f espocrm-default-compose.yml up -d --build [+] Building 0.0s (0/0) docker:desktop-linux [+] Running 4/0 ✔ Container espocrm-websocket Running 0.0s ✔ Container mysql Running 0.0s ✔ Container espocrm Running 0.0s ✔ Container espocrm-daemon Running

Comment