Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
sptb-web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: sptb-web:latest
|
||||
container_name: sptb-web
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- sptb-data:/data
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Production
|
||||
- DataFolder=/data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
volumes:
|
||||
sptb-data:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user