Skip to content

Commit f417403

Browse files
committed
修复docker-compose构建方式
1 parent 6b4a86a commit f417403

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ version: '2'
22
services:
33
proxy_pool:
44
build: .
5+
container_name: proxy_pool
56
ports:
67
- "5010:5010"
78
links:
89
- proxy_redis
910
environment:
10-
db_type: SSDB
11-
ssdb_host: proxy_redis
12-
ssdb_port: 6379
11+
DB_CONN: "redis://@proxy_redis:6379/0"
1312
proxy_redis:
1413
image: "redis"
14+
container_name: proxy_redis

0 commit comments

Comments
 (0)