version: '3' services: nginx: image: nginx:latest container_name: my-nginx ports: - "8101:8101" - "8102:8102" - "8103:8103" - "1070:1070" - "9200:9200" - "8070:8070" - "8071:8071" - "8010:8090" - "8011:8091" - "443:443" volumes: - ./conf:/etc/nginx/conf.d - ./html:/usr/share/nginx/html - ./certs:/etc/nginx/certs restart: unless-stopped