Files
Academic-Affairs-System/compose.app.example.yml
T
biss eb13465b49
Build and publish Jiaowu packages and container image / Test, package and publish (push) Failing after 21m12s
更改docker
2026-07-25 21:26:49 +08:00

28 lines
626 B
YAML

name: jiaowu
services:
app:
image: "${JIAOWU_IMAGE:-jiaowu:local}"
build:
context: .
dockerfile: Dockerfile
env_file:
- .env
ports:
- "${JIAOWU_PORT:-8080}:8080"
restart: unless-stopped
init: true
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
# 如果 .env 中的 SslCa=/etc/jiaowu/mysql-ca.pem,请把 CA 放到
# ./certs/mysql-ca.pem,并取消下面三行注释。
# volumes:
# - type: bind
# source: ./certs/mysql-ca.pem
# target: /etc/jiaowu/mysql-ca.pem
# read_only: true