version: '3' services: grafana: image: grafana/grafana restart: always env_file: - .env - .secret.env volumes: - grafana-data:/var/lib/grafana/ user: "104" ports: - 3001:3000/tcp volumes: grafana-data: