Commit 3e4621ec authored by 姜大杰's avatar 姜大杰

add redis

parent 0f4d27a2
version: '3' version: '3'
services: services:
hostname: redis
image: redis:5.0.4
container_name: redis
#restart: unless-stopped
restart: always
command: redis-server /etc/redis.conf
#network_mode: host
environment:
- TZ=Asia/Shanghai
volumes:
#- /etc/localtime:/etc/localtime:ro
- ./redis/data/:/data/redis
- ./redis/redis.conf:/etc/redis.conf
ports:
- "6379:6379"
htwin-dbapi: htwin-dbapi:
image: 47.110.145.204:8084/huansiyl/htwin/db-api:3.1.1 image: 47.110.145.204:8084/huansiyl/htwin/db-api:3.1.1
container_name: htwin-dbapi container_name: htwin-dbapi
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment