Files
users/docker-compose.nas.yml

21 lines
650 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 神射手 - 公司 NAS (ckbnas 192.168.1.201) 部署
# 应用与数据库均在同一台 NAS数据库使用 NAS 上已有的 MongoDB 容器
# 使用方式(在 NAS 上):
# docker compose -f docker-compose.nas.yml up -d
# 或本机构建后推送到 NAS 再 up。
version: "3.8"
services:
shensheshou:
build: .
image: shensheshou:latest
container_name: shensheshou
environment:
# 使用 NAS 本机 MongoDB与群晖NAS管理 SKILL 一致)
MONGODB_URI: "mongodb://admin:admin123@192.168.1.201:27017/?authSource=admin"
NODE_ENV: production
ports:
- "3117:3117"
restart: unless-stopped