You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/example/app/docker-compose.yml

25 lines
531 B

version: "3.8"
networks:
default:
name: mynetwork
external: true
services:
nginx:
image: nginx:1.20.0
#restart: always
environment:
TZ: "Asia/Shanghai"
ports:
- 80:80
volumes:
- nginx-log:/var/log/nginx
networks:
default:
ipv4_address: 172.172.0.10
volumes:
nginx-log:
driver: vieux/sshfs:latest
driver_opts:
sshcmd: root@172.172.0.2:/data
password: root