初始提交: 通用数据同步服务
- 基于OpenResty的RESTful API服务 - 支持Cookie/Token等数据类型的存储和管理 - 登录认证保护 - Web管理界面 - 数据过期管理
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: openresty/openresty:alpine
|
||||
container_name: data-sync-service
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5001:80"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro
|
||||
- ./data:/data
|
||||
- ./web:/usr/local/openresty/nginx/html:ro
|
||||
networks:
|
||||
- sync-net
|
||||
mem_limit: 50m
|
||||
cpus: 0.2
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
|
||||
networks:
|
||||
sync-net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user