Login not possible

Hey,

I’ve successfully startet my drone docker containers with the following compose file:

version: '2'

services:
  drone-server:
    image: drone/drone:0.5
    ports:
      - 8000:8000
    volumes:
      - ./drone:/var/lib/drone/
    restart: always
    environment:
      - DRONE_GOGS=true
      - DRONE_GOGS_URL=https://git.code.com
      - DRONE_GOGS_GIT_USERNAME=test
      - DRONE_GOGS_GIT_PASSWORD=test
      - DRONE_ADMIN=test
      - DRONE_SECRET=test
  drone-agent:
    image: drone/drone:0.5
    command: agent
    restart: always
    depends_on: [ drone-server ]
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_SERVER=ws://drone-server:8000/ws/broker
      - DRONE_SECRET=test

The thing is i cant login with the git credentials to the web interface with the following error in the server logs. level=error msg="cannot authenticate user. Post …: dial tcp …: i/o timeout"
Also i cant connect with the CLI to the server with the apprperiate [$DRONE_SERVER] [$DRONE_TOKEN]. DRONE_TOKEN is set to the token in the first message of the server. level=warning msg=“agents can connect with token …”.
I think i’m mssing something critical that im not in the position to login…

Thanks :slight_smile: