-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 899 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
dev-main:
container_name: nso-dev
image: ${NSO_IMAGE}
volumes:
- type: bind
source: ${HOST_PACKAGES_DIR}
target: /nso/run/packages
- type: bind
source: ${HOST_RUNTIME_CONFIG_DIR}
target: /nso/etc
- type: bind
source: ${HOST_BOOTSTRAP_DIR}
target: /tmp/nso
- type: bind
source: ${HOST_TOPOLOGY_FILE}
target: /tmp/nso-lab-topology.yaml
read_only: true
healthcheck:
test: ncs_cmd -c "wait-start 2"
interval: 5s
retries: 5
start_period: 10s
timeout: 10s
environment:
- EXTRA_ARGS=--with-package-reload-force
- ADMIN_USERNAME=${ADMIN_USERNAME}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
networks:
- dev-netwk
ports:
- "${NSO_HTTP_PORT}:8080"
- "${NSO_SSH_PORT}:2022"
networks:
dev-netwk:
driver: bridge