new node.js impl., removed old stuff
This commit is contained in:
23
email-worker-nodejs/docker-compose.yml
Normal file
23
email-worker-nodejs/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
email-worker:
|
||||
build: .
|
||||
container_name: email-worker-ts
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./domains.txt:/etc/email-worker/domains.txt:ro
|
||||
- worker-logs:/var/log/email-worker
|
||||
ports:
|
||||
- "8000:8000" # Prometheus metrics
|
||||
- "8080:8080" # Health check
|
||||
# Connect to DMS on the host or Docker network
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
environment:
|
||||
- SMTP_HOST=host.docker.internal
|
||||
- SMTP_PORT=25
|
||||
|
||||
volumes:
|
||||
worker-logs:
|
||||
Reference in New Issue
Block a user