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.
24 lines
415 B
24 lines
415 B
version: '3'
|
|
services:
|
|
web:
|
|
image: nginx
|
|
container_name: ${webServName}
|
|
restart: ${restartPolicy}
|
|
# ports:
|
|
# - 8080:80
|
|
networks:
|
|
- webNet
|
|
volumes:
|
|
- html:/usr/share/nginx/html/
|
|
- config:/etc/nginx/
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
volumes:
|
|
html:
|
|
config:
|
|
|
|
networks:
|
|
webNet:
|
|
external: true
|
|
name: webNet
|
|
|