20 lines
415 B
YAML
20 lines
415 B
YAML
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:
|