15 lines
326 B
YAML
15 lines
326 B
YAML
version: '2.12'
|
|
services:
|
|
ngx:
|
|
# profiles: ["dev"]
|
|
container_name: ngx-t
|
|
image: nginx:latest
|
|
restart: always
|
|
# ports:
|
|
# - 80:80
|
|
# - 443:443
|
|
network_mode: host
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
# - ${DIR}/ngx/etc:/etc/nginx
|
|
# - ${DIR}/ngx/log:/var/log/nginx |