feat: mount app.conf to container (#217)

Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
sh1luo
2021-08-03 10:22:55 +08:00
committed by GitHub
parent 4001e63f16
commit 9f5c6b1e05

View File

@ -5,14 +5,16 @@ services:
context: ./
dockerfile: go-dockerfile
ports:
- 8000:8000
- "8000:8000"
depends_on:
- db
volumes:
- ./conf:/conf/
db:
restart: always
image: mysql:8.0.25
ports:
- 3306:3306
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: 123
volumes: