Fix email, remove docker-compose
This commit is contained in:
@@ -38,7 +38,7 @@ export async function POST(request: NextRequest) {
|
|||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
from: 'Cloudrite Contact Form <[email protected]>',
|
from: 'Cloudrite Contact Form <[email protected]>',
|
||||||
to: '[email protected]',
|
to: '[email protected]',
|
||||||
replyTo: email,
|
replyTo: email,
|
||||||
subject: `New Contact Form Submission from ${name}`,
|
subject: `New Contact Form Submission from ${name}`,
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
|
||||||
app:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
|
||||||
- "3000:3000"
|
|
||||||
environment:
|
|
||||||
- NODE_ENV=production
|
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
|
||||||
start_period: 40s
|
|
||||||
Reference in New Issue
Block a user