Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Cannot set property 'NOW_DEPLOYED' of undefined #7

Open
devudopw opened this issue Sep 5, 2018 · 4 comments
Open

Cannot set property 'NOW_DEPLOYED' of undefined #7

devudopw opened this issue Sep 5, 2018 · 4 comments

Comments

@devudopw
Copy link

devudopw commented Sep 5, 2018

Hello

When deploy, it shows "Cannot set property 'NOW_DEPLOYED' of undefined".
How to set?

@dannav
Copy link
Owner

dannav commented Sep 7, 2018

Can you post your docker-compose.yml?

@devudopw
Copy link
Author

devudopw commented Sep 8, 2018

Sure, it runs successfully with docker-compose

version: "3"
services:
  scrapyd:
    container_name: sc1
    hostname: sc1
    image: zaim/scrapyd
    ports:
      - "6800:6800"
  spiderkeeper:
    container_name: sd1
    hostname: sd1
    build: ./spiderkeeper
    command: --server=http://sc1:6800 --no-auth
    ports:
      - "5000:5000"
    depends_on:
      - scrapyd

@nojansheybani
Copy link

nojansheybani commented Jan 7, 2019

I'm also having the same problem. I get the cannot set property of NOW_DEPLOYED of undefined, but everything works with docker-compose. The below is my docker-compose.yml

version: '3'
services:
  client:
    build: Client
    ports:
      - "80:80"
    restart: on-failure
    links:
      - server
    depends_on:
      - server
  server:
    build: Server
    ports:
      - "81:81"

@dannav
Copy link
Owner

dannav commented Jan 7, 2019

You can try setting the environment variable in your docker-compose file and leaving it empty.

Otherwise I have stopped development on this project with the release of now 2.0. But feel free to make a pull request if you have a solution to this issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants