version: '3'

services:
  nginx:
    container_name: nginx
    image: nginx
    restart: always
    volumes:
     - ./conf:/etc/nginx/conf.d
     - ./logs:/home/logs/nginx
     - ./html:/home/html
    ports:
     - "80:80"
     - "8080:8080"
     - "8081:8081"
