完善docker相关配置
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
services:
|
||||
codeg:
|
||||
build: .
|
||||
# Or use a pre-built image:
|
||||
# image: xintaofei/codeg:latest
|
||||
ports:
|
||||
- "3080:3080"
|
||||
volumes:
|
||||
- codeg-data:/data
|
||||
# Mount your project directories (optional):
|
||||
# - /path/to/projects:/projects
|
||||
environment:
|
||||
- CODEG_TOKEN=${CODEG_TOKEN:-}
|
||||
- CODEG_PORT=3080
|
||||
- CODEG_HOST=0.0.0.0
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
codeg-data:
|
||||
|
||||
Reference in New Issue
Block a user