mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
feat: mount app.conf to container (#217)
Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
@ -5,14 +5,16 @@ services:
|
|||||||
context: ./
|
context: ./
|
||||||
dockerfile: go-dockerfile
|
dockerfile: go-dockerfile
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- "8000:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
volumes:
|
||||||
|
- ./conf:/conf/
|
||||||
db:
|
db:
|
||||||
restart: always
|
restart: always
|
||||||
image: mysql:8.0.25
|
image: mysql:8.0.25
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- "3306:3306"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: 123
|
MYSQL_ROOT_PASSWORD: 123
|
||||||
volumes:
|
volumes:
|
||||||
|
Reference in New Issue
Block a user