file_system/docker-compose.yml
root 3e1f4083b9 Fix deployment configuration and add docker-compose.yml
- Fix YAML syntax error in GitLab CI/CD pipeline
- Update Docker image path to push/pull from docker directory
- Add docker-compose.yml for proper deployment
- Simplify CI/CD configuration removing complex deployment scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 10:36:03 +08:00

29 lines
614 B
YAML

version: '3.8'
services:
file-system-server:
image: 192.168.1.154:31010/docker/file-system-server:latest
container_name: file-system-server
ports:
- "8080:8080"
restart: unless-stopped
environment:
- GIN_MODE=release
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/swagger/index.html"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
- ./logs:/app/logs
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
logs:
driver: local