The environment variables are the same as NACOS
docker-compose example:
version: '3.5'
services:
nacos:
restart: always
image: lzj960515/nacos:1.4.2
container_name: nacos-1.4.2
environment:
MYSQL_SERVICE_HOST: 127.0.0.1
MYSQL_SERVICE_PORT: 3306
MYSQL_SERVICE_DB_NAME: nacos
MYSQL_SERVICE_USER: nacos
MYSQL_SERVICE_PASSWORD: nacos
TZ: Asia/Shanghai
ports:
- 8848:8848
volumes:
- ./logs:/home/nacos/logs
if you have any question, please send email to me: [email protected] or [email protected]
Content type
Image
Digest
Size
302.4 MB
Last updated
almost 5 years ago
docker pull lzj960515/nacos:1.4.2