Skip to content

Commit 345e794

Browse files
committed
Improve docker-compose.yml
1 parent b315f58 commit 345e794

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

go-dockerfile Dockerfile

File renamed without changes.

docker-compose.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@ services:
33
casnode:
44
build:
55
context: ./
6-
dockerfile: go-dockerfile
6+
dockerfile: Dockerfile
77
ports:
8-
- 7000:7000
8+
- "7000:7000"
99
depends_on:
1010
- db
11+
volumes:
12+
- ./conf:/conf/
1113
db:
1214
restart: always
1315
image: mysql:8.0.25
1416
ports:
15-
- 3308:3306
17+
- "3306:3306"
1618
environment:
1719
MYSQL_ROOT_PASSWORD: 123
1820
volumes:

0 commit comments

Comments
 (0)