initial commit
This commit is contained in:
parent
8a67761c9a
commit
5f0158590e
4 changed files with 101 additions and 3 deletions
24
compose.yml
Normal file
24
compose.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
services:
|
||||
vultr-dns-manager:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
# You can add other environment variables here if needed
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
volumes:
|
||||
# Optional: Mount a volume for persistent data if needed
|
||||
- vultr-dns-manager-data:/app/.next/cache
|
||||
|
||||
volumes:
|
||||
vultr-dns-manager-data:
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue