终于到了安装appsmith这个大神的时候,这个简单,真是越到后面越容易。
 安装说明见:https://docs.appsmith.com/getting-started/setup/installation-guides/docker ,建议使用 Docker Compose 进行长期的 Appsmith 部署
步骤一:创建docker-compose.yml
 [root@localhost home]# mkdir /home/appsmith
 [root@localhost home]# cd /home/appsmith
 [root@localhost appsmith]# vim docker-compose.yml
 文件内容中添加如下:注意社区版这个改成ce (appsmith-ce)
version: "3"
 services:
    appsmith:
      image: index.docker.io/appsmith/appsmith-ce
      container_name: appsmith
      ports:
          - "80:80"
          - "443:443"
      volumes:
          - ./stacks:/appsmith-stacks
      restart: unless-stopped
最后保存,输入冒号(:)进入命令行模式,wq保存
 [root@localhost appsmith]# ls
 docker-compose.yml
步骤二:安装
 2.[root@localhost appsmith]# docker-compose up -d
 bash: docker-compose: command not found...  原因是docker-compose中间的横线导致
 [root@localhost appsmith]#docker logs -f appsmith
 [root@localhost appsmith]# docker compose up -d
 [+] Running 15/15
  ✔ appsmith 14 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                                                                                                1104.6s 
    ✔ 527f5363b98e Pull complete                                                                                                                                                                                                 3.8s 
    ✔ 7dc4369912de Pull complete                                                                                                                                                                                                 1.3s 
    ✔ 0c68b80f2623 Pull complete                                                                                                                                                                                                15.2s 
    ✔ 49c67d47fedd Pull complete                                                                                                                                                                                                10.4s 
    ✔ 8a2ce80cb37a Pull complete                                                                                                                                                                                                13.0s 
    ✔ 8b54b076df0a Pull complete                                                                                                                                                                                                13.3s 
    ✔ 83e1296b3561 Pull complete                                                                                                                                                                                                15.6s 
    ✔ dc428f0a0b94 Pull complete                                                                                                                                                                                                16.3s 
    ✔ 44eb24f351aa Pull complete                                                                                                                                                                                                16.7s 
    ✔ 57622bef7360 Pull complete                                                                                                                                                                                                26.1s 
    ✔ 8c831460aaf4 Pull complete                                                                                                                                                                                              1080.1s 
    ✔ 9049815174f2 Pull complete                                                                                                                                                                                                26.7s 
    ✔ 45644461c320 Pull complete                                                                                                                                                                                                30.5s 
    ✔ 1ddd7a3b87bd Pull complete                                                                                                                                                                                                28.3s 
 [+] Running 1/2
  ⠋ Network appsmith_default  Created                                                                                                                                                                                            0.9s 
  ✔ Container appsmith        Started                                                                                                                                                                                            0.8s 
 安装成功
 http://localhost.
步骤三:配置
 http://IP 你就可以打开你安装好的appsmith了,
 Fill in your details to create an administrator account
 Once you've created an account, you can either start with the free plan or activate your instance with a license key. If you want to generate a license key, sign up on customer.appsmith.com to create one, and then proceed to activate your instance using the newly generated license key
 [root@localhost appsmith]# 
步骤四:看一下配置文件,串个门
 [root@localhost appsmith]# cd /home/appsmith/stacks/configuration
 [root@localhost configuration]# ls
 docker.env
 [root@localhost configuration]# cat docker.env
 这个环境变量里面其实是有很多货色的
步骤五:重启,再次验证一下安装是否正常
 [root@localhost configuration]# docker-compose restart appsmith
接下来就看appsmith的低代码能低到那个程度,有没有下限。