Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
docker-compose.yml 443 Bytes
Copy Edit Web IDE Raw Blame History
Jun Shi authored 2019-09-24 20:23 . Task3 docker插件
version: '1.0.1'
services:
ttiot-redis:
image: redis:5.0
command: redis-server --requirepass TTIot
ports:
- 6379:6379
restart: always
container_name: ttiot-redis
hostname: ttiot-redis
ttiot-example:
build:
context: ./
dockerfile: ./ttiot-example/Dockerfile
restart: always
ports:
- 8729:8729
container_name: ttiot-example
hostname: ttiot-example
image: ttiot-example

Comment ( 0 )

Sign in for post a comment