server/deploy/project/docker-compose.yaml
shanshanzhong a73a3f2313 feat: 添加docker-compose配置和用户管理逻辑更新
fix(ci): 移除敏感信息并更新SSH认证方式

refactor: 清理无用文件和更新Makefile配置

docs: 添加项目配置文件和更新环境变量说明
2025-07-22 08:53:30 -07:00

16 lines
336 B
YAML

services:
# need modify service name to your owner
server-api:
image: ${API_IMAGE_NAME}
container_name: ${API_CONTAINER_NAME}
restart: always
ports:
- ${API_EXTERNAL_PORT}:${API_INNER_PORT}
volumes:
- ${API_LOG_DIR}:/app/logs
networks:
default:
name: ${DOCKER_NETWORK_NAME}
external: true