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.
19 lines
452 B
19 lines
452 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:
|
|
# - ./conf/nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
# - ./log/nginx:/var/log/nginx
|
|
networks:
|
|
default:
|
|
ipv4_address: 172.172.0.10 |