gitblog1
This commit is contained in:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
gitblog:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- GITHUB_TOKEN=${GITHUB_TOKEN}
|
||||
- GITHUB_OWNER=${GITHUB_OWNER}
|
||||
- GITHUB_REPO=${GITHUB_REPO}
|
||||
- PORT=8080
|
||||
- DEFAULT_THEME=light
|
||||
- CACHE_DURATION=15m
|
||||
- UPDATE_INTERVAL=5m
|
||||
volumes:
|
||||
- ./web:/root/web
|
||||
restart: unless-stopped
|
Reference in New Issue
Block a user