jtreminio / dashtainer

MIT License
48 stars 3 forks source link

Secret uid, gid, or mode not supported in non-Swarm mode #47

Closed jtreminio closed 6 years ago

jtreminio commented 6 years ago

WARNING: Service "redis" uses secret "redis-redis-host" with uid, gid, or mode. These fields are not supported by this implementation of the Compose file

version: '3.2'
networks:
  private: 
  public:
    external:
      name: traefik_webgateway
secrets:
  redis-redis-host:
    file: ./secrets/redis-redis_host
volumes:
  redis-datadir: 
services:
  redis:
    image: 'redis:4.0'
    networks:
      - private
    secrets:
      -
        source: redis-redis_host
        target: redis_host
        uid: "0"
        gid: "0"
        mode: 0444
    volumes:
      - "redis-datadir:/data"