We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f89f1a1 commit 5f2b441Copy full SHA for 5f2b441
docker-compose.yml
@@ -1,12 +1,10 @@
1
-version: '3.8'
2
-
3
services:
4
notify-scheduler:
5
build: .
6
container_name: notify-scheduler
7
restart: unless-stopped
8
ports:
9
- - "5000:5000"
+ - "15001:5000"
10
volumes:
11
# 数据库持久化
12
- ./data:/app/data
@@ -18,23 +16,6 @@ services:
18
16
networks:
19
17
- notify-network
20
21
- # Nginx 反向代理(可选)
22
- nginx:
23
- image: nginx:alpine
24
- container_name: notify-nginx
25
- restart: unless-stopped
26
- ports:
27
- - "80:80"
28
- - "443:443"
29
- volumes:
30
- - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
31
- # SSL 证书(如果使用 HTTPS)
32
- # - ./ssl:/etc/nginx/ssl:ro
33
- depends_on:
34
- - notify-scheduler
35
- networks:
36
- - notify-network
37
38
39
notify-network:
40
driver: bridge
0 commit comments