https://blog.csdn.net/shangyexin/article/details/106804789
https://rs.bitwarden.in/container-image-usage/using-docker-compose
创建文件docker-compose.yml
docker-compose.yml
version: '3' services: bitwarden: image: bitwardenrs/server container_name: bitwarden restart: always volumes: - ./bw-data:/data ports: - 1080:80 environment: SIGNUPS_ALLOWED: 'true'
镜像改成了vaultwarden
version: '3' services: vaultwarden: image: vaultwarden/server container_name: vaultwarden restart: always volumes: - ./vw-data:/data ports: - 1080:80 environment: SIGNUPS_ALLOWED: 'true'
使用docker-compose up -d
即可启动容器。
当有新的版本可以升级时,可以使用下面的命令进行升级,否则可能无法使用APP对应的一些新功能:
docker-compose down docker-compose pull docker-compose up -d
安装flarum
# docker-compose up -d mariadb # Wait a moment for the creation of the database # docker-compose up -d flarum # docker exec -ti flarum extension require littlegolden/flarum-lan
剩余50%内容付费后可查看