初始化

This commit is contained in:
lhx
2025-12-12 10:57:31 +08:00
commit f8e85beba1
38 changed files with 2146 additions and 0 deletions

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
version: '3.8'
services:
tunnel-app:
build: .
container_name: tunnel-rock-app
ports:
- "8000:8000"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./logs:/app/logs
- ./.env:/app/.env:ro
restart: unless-stopped
deploy:
resources:
limits:
memory: 4G
cpus: '4.0'
reservations:
memory: 1G
cpus: '2.0'
environment:
- APP_DEBUG=false