Docker swarm, cassandra cluster, compose

Hello guy,
I’m desperate by now, trying for almost two days to achieve cassandra cluster on two machines using docker swarm.
I was following this (Cassandra on Docker Swarm) guy’s docker-compose but with no success.
I made some changes so my final docker compose looks like this.

services:
  cassandra-1:
    image: cassandra
    deploy:
      restart_policy:
        condition: on-failure
        max_attempts: 3
        window: 120s
      placement:
        constraints:
        - node.labels.name==db-fra-01
    environment:
      CASSANDRA_BROADCAST_ADDRESS: <tried ip, but also cassandra-1>
    ports:
    - "7000"
  cassandra-2:
    image: cassandra
    deploy:
      restart_policy:
        condition: on-failure
        max_attempts: 3
        window: 120s
      placement:
        constraints:
        - node.labels.name==db-fra-02
    environment:
      CASSANDRA_BROADCAST_ADDRESS: <tried ip, but also cassandra-2>
      CASSANDRA_SEEDS: <tried ip, but also cassandra-1>
    depends_on:
    - cassandra-1
    ports:
    - "7000"```

I know that there is the problem that I can't pass IP into broadcast IP, since IDK which address will docker DNS give to the container....

Another issue is, that I need to somehow pass passwordAuthentication value into cassandra.yaml. 

I tried also to create docker-compose from bitnami/cassandra image, but with no success. 

Can anyone please help??