docker-compose.yml now pulls the pre-built image from gitea.labsconnect.se/bobban/scheduletaskmanager-schedule-task-manager:latest instead of building locally; the old build-from-source file moves to docker-compose.dev.yml for local testing or before a push pipeline exists. README documents both paths.
15 lines
289 B
YAML
15 lines
289 B
YAML
services:
|
|
schedule-task-manager:
|
|
build: .
|
|
container_name: schedule-task-manager
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HOST_PORT:-3000}:3000"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
PORT: 3000
|
|
NODE_ENV: production
|
|
volumes:
|
|
- ./data:/app/data
|