Skip to content

Commit e604340

Browse files
committed
Fix production overlapping log files
- DEBUG = false
1 parent e24c156 commit e604340

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

common/const.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package common
33
var CloudConfig *CloudConfiguration
44

55
const (
6-
DEBUG = true
6+
DEBUG = false
77
MAINTENANCE = false
88
PORT = "8080"
99
)

deployments/prod-safeu/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
context: ../..
2323
dockerfile: ././build/package/safeu-backend/Dockerfile-compose
2424
volumes:
25-
- ../../log/web1:/go/src/a2os/safeu-backend/log/
25+
- ../../log/safeu1:/go/src/a2os/safeu-backend/log
2626
# - ../..:/go/src/a2os/safeu-backend/
2727
environment:
2828
- TZ=Asia/Shanghai
@@ -39,7 +39,7 @@ services:
3939
context: ../..
4040
dockerfile: ././build/package/safeu-backend/Dockerfile-compose
4141
volumes:
42-
- ../../log/web2:/go/src/a2os/safeu-backend/log/
42+
- ../../log/safeu2:/go/src/a2os/safeu-backend/log
4343
# - ../..:/go/src/a2os/safeu-backend/
4444
environment:
4545
- TZ=Asia/Shanghai
@@ -56,7 +56,7 @@ services:
5656
context: ../..
5757
dockerfile: ././build/package/safeu-backend/Dockerfile-compose
5858
volumes:
59-
- ../../log/web2:/go/src/a2os/safeu-backend/log/
59+
- ../../log/safeu3:/go/src/a2os/safeu-backend/log
6060
# - ../..:/go/src/a2os/safeu-backend/
6161
environment:
6262
- TZ=Asia/Shanghai

0 commit comments

Comments
 (0)