version: '3.7' services: mi: restart: always build: . env_file: .env environment: RETHINKDB_URL: "rethinkdb2://admin@rethinkdb/mi" depends_on: - rethinkdb ports: - "127.0.0.1:39243:5000" rethinkdb: restart: always image: "rethinkdb:2.4.0" volumes: - "rethink-data:/data" volumes: rethink-data: