NAME and SLOGAN are read from .env via dotenv and injected into the LinkedIn preview card template at startup. Avatar initials are auto- generated from the first letters of NAME. Works identically with npm start and docker compose (via env_file). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
162 B
YAML
9 lines
162 B
YAML
services:
|
|
linkedin-formatter:
|
|
build: .
|
|
container_name: linkedin-formatter
|
|
ports:
|
|
- "3000:3000"
|
|
restart: unless-stopped
|
|
env_file: .env
|