version: '3.1' services: nginx: image: nginx:1.9.0 ports: - "8108:80" volumes: - /etc/localtime:/etc/localtime:ro - nginx.conf:/etc/nginx/nginx.conf restart: always