feat(docker): add docker-compose configuration for progyssey service
This commit is contained in:
parent
ba9f49c162
commit
6d093757f1
1 changed files with 30 additions and 0 deletions
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
services:
|
||||
progyssey:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: progyssey
|
||||
ports:
|
||||
- "3002:3002"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NODE_ENV=${NODE_ENV:-production}
|
||||
- PORT=${PORT:-3002}
|
||||
- LISTMONK_URL=${LISTMONK_URL}
|
||||
- LISTMONK_USERNAME=${LISTMONK_USERNAME}
|
||||
- LISTMONK_PASSWORD=${LISTMONK_PASSWORD}
|
||||
- LIST_ID=${LIST_ID}
|
||||
- LISTMONK_BASE_URL=${LISTMONK_BASE_URL}
|
||||
- PRESET_CAMPAIGN_ID=${PRESET_CAMPAIGN_ID}
|
||||
- TEMPLATE_ID_WEEK_1=${TEMPLATE_ID_WEEK_1}
|
||||
- TEMPLATE_ID_WEEK_2=${TEMPLATE_ID_WEEK_2}
|
||||
- TEMPLATE_ID_WEEK_3=${TEMPLATE_ID_WEEK_3}
|
||||
- TEMPLATE_ID_WEEK_4=${TEMPLATE_ID_WEEK_4}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3002/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
Loading…
Add table
Reference in a new issue