- 基于OpenResty的RESTful API服务 - 支持Cookie/Token等数据类型的存储和管理 - 登录认证保护 - Web管理界面 - 数据过期管理
23 lines
423 B
Plaintext
23 lines
423 B
Plaintext
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
|
|
networks:
|
|
- sync-net
|
|
mem_limit: 50m
|
|
cpus: 0.2
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
|
|
networks:
|
|
sync-net:
|
|
driver: bridge
|