feat: 后台打包测试部署
All checks were successful
Backend Deploy (Go + Docker) / deploy (push) Successful in 1m29s
All checks were successful
Backend Deploy (Go + Docker) / deploy (push) Successful in 1m29s
This commit is contained in:
@@ -1,22 +1,13 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
insight-reply-server:
|
||||
build: .
|
||||
container_name: insight-reply-server
|
||||
restart: always
|
||||
ports:
|
||||
- "8009:8080"
|
||||
network_mode: host
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- LOG_FILE_PATH=/app/logs/InsightReply.log
|
||||
- SERVER_PORT=8009
|
||||
volumes:
|
||||
# Map the host's /root/logs to the container's /app/logs directory
|
||||
- /root/logs:/app/logs
|
||||
networks:
|
||||
- insight_network
|
||||
|
||||
networks:
|
||||
insight_network:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user