version: "3" services: redis: container_name: redis image: redis:alpine ports: - "127.0.0.1:6379:6379" nginx: image: nginx:1 network_mode: "host" volumes: - "./nginx:/etc/nginx/conf.d:ro" - "../_run:/ucast:ro"