services: erika: build: . network_mode: host restart: unless-stopped nginx: image: nginx:alpine container_name: erika-nginx network_mode: host volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro depends_on: - erika restart: unless-stopped