首次提交

This commit is contained in:
zeronline
2026-06-25 08:39:47 +08:00
parent 20a93c703a
commit c5cccd346b
169 changed files with 24720 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
version: '3.8'
services:
api:
build:
context: ../server
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
PORT: "8080"
DB_HOST: host.docker.internal
DB_PORT: "13306"
DB_USER: root
DB_PASS: "123456"
DB_NAME: inchstep
JWT_SECRET: change-me-in-production
REDIS_URL: "redis://redis:6379/0"
depends_on:
- redis
restart: unless-stopped
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
mysql_data: