Skip to content

Commit

Permalink
feature:docker支持挂载备份文件夹
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyumc committed Feb 12, 2025
1 parent 36e7794 commit aa49ec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions YuYuWechatV2_Client/GitHub Action Build Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ services:
networks:
- yuyuwechatv2_network
restart: always
volumes:
- ./backups:/app/backups

networks:
yuyuwechatv2_network:
Expand Down
4 changes: 3 additions & 1 deletion YuYuWechatV2_Client/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ services:
- POSTGRES_PASSWORD=tykWyr-bepqu6-fafvym
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- CSRF_TRUSTED_ORIGINS=https://localhost,https://yourdomain.com # 定义CSRF信任域
- CSRF_TRUSTED_ORIGINS=https://localhost,https://yourdomain.com # 定义CSRF信任域
volumes:
- ./backups:/app/backups # 挂载 ./backups 到容器的 /app/backups

0 comments on commit aa49ec2

Please sign in to comment.