bpb-website/docker-compose.yml
chris cdd8ccb0e5 feat: Add docker-compose for easier application management
This commit introduces a `docker-compose.yml` file to simplify the
process of building, running, and managing the application.

- Defines the `bpb-website` service with build context, port mapping,
  and environment variables.
- Mounts a volume for `update.json` to ensure data persistence across
  container restarts.
- Sets `restart: always` to ensure the service is automatically
  restarted if it goes down.
2025-11-13 12:14:34 -05:00

14 lines
326 B
YAML

version: '3.8'
services:
bpb-website:
build: .
ports:
- "3050:3050"
environment:
ADMIN_PASSWORD: your_secure_password # IMPORTANT: Replace with a strong password
NODE_ENV: production
volumes:
- ./update.json:/usr/src/app/update.json # Persist update.json changes
restart: always