Skip to content

Commit 5f2b441

Browse files
committed
update docker-compose.yml
1 parent f89f1a1 commit 5f2b441

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

docker-compose.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
version: '3.8'
2-
31
services:
42
notify-scheduler:
53
build: .
64
container_name: notify-scheduler
75
restart: unless-stopped
86
ports:
9-
- "5000:5000"
7+
- "15001:5000"
108
volumes:
119
# 数据库持久化
1210
- ./data:/app/data
@@ -18,23 +16,6 @@ services:
1816
networks:
1917
- notify-network
2018

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-
3819
networks:
3920
notify-network:
4021
driver: bridge

0 commit comments

Comments
 (0)