19 lines
555 B
YAML
19 lines
555 B
YAML
# Fragment to merge into /srv/scrum4me/compose/docker-compose.yml
|
|
# Add the ops-dashboard service under the `services:` key.
|
|
#
|
|
# Build the image first:
|
|
# docker build -t ops-dashboard /srv/ops/repos/ops-dashboard
|
|
#
|
|
# Then bring the service up:
|
|
# docker compose -f /srv/scrum4me/compose/docker-compose.yml up -d ops-dashboard
|
|
|
|
services:
|
|
ops-dashboard:
|
|
build:
|
|
context: /srv/ops/repos/ops-dashboard
|
|
env_file: /srv/ops/ops-dashboard.env
|
|
ports:
|
|
- "127.0.0.1:3001:3000"
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- postgres
|