Files
devops/docker/instock/docker-compose.yml
2025-05-19 16:04:32 +08:00

36 lines
1.0 KiB
YAML
Raw 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.

version: "3.8"
services:
instock:
image: mayanghua/instock:latest
container_name: InStock
platform: linux/amd64 # 指定运行的是 x86 架构
restart: unless-stopped
ports:
- "9988:9988"
environment:
TZ: Asia/Shanghai # 设置时区为北京时间
db_host: testdb
db_user: root
db_password: mysqlpw
db_database: instockdb
db_port: 3306
#volumes:
# 存储所有数据搜索索引、SQLite 数据库、分类模型等)的地方
#- ~/dockers/paperless/data:/usr/src/paperless/data
# 挂载文件导入目录
#- ~/dockers/paperless/consume:/usr/src/paperless/consume
# 挂载文件导出目录
#- ~/dockers/paperless/export:/usr/src/paperless/export
# 存储您的文档和缩略图的地方
#- ~/dockers/paperless/media:/usr/src/paperless/media
# 挂载脚本,比如 PAPERLESS_POST_CONSUME_SCRIPT
#- ~/dockers/paperless/scripts:/usr/src/paperless/scripts
networks:
- devops
networks:
devops:
external: true