build: 配置信息
This commit is contained in:
+5
-5
@@ -3,16 +3,16 @@ server:
|
|||||||
admin_key: "admin-sk-change-me"
|
admin_key: "admin-sk-change-me"
|
||||||
|
|
||||||
database:
|
database:
|
||||||
host: "127.0.0.1"
|
host: "mysql"
|
||||||
port: 3306
|
port: 3306
|
||||||
user: "notify"
|
user: "root"
|
||||||
password: "${DB_PASSWORD:-notify}"
|
password: "${DB_PASSWORD:-7Qay8mksnwrCffGi}"
|
||||||
database: "notification"
|
database: "notification"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
host: "127.0.0.1"
|
host: "redis"
|
||||||
port: 6379
|
port: 6379
|
||||||
password: ""
|
password: "XBAG3pjZbYxZpTWA"
|
||||||
db: 0
|
db: 0
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ services:
|
|||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
@@ -27,6 +29,8 @@ services:
|
|||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
|
||||||
api:
|
api:
|
||||||
build: .
|
build: .
|
||||||
@@ -43,6 +47,12 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql_data:
|
mysql_data:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user