1# CHART Framework compose file
2
3# Don't use this file for building, run docker/build.sh instead
4
5# Don't use this file for running projects, use their docker-compose.yml files instead
6
7# If you really have to use it, you can:
8
9# Enter a basic OS console:
10# $ docker-compose run --rm os /bin/bash
11
12# Start a console with CHART prereqs only:
13# $ docker-compose run --rm prereq /bin/bash
14
15# Start a system with prereqs and framework code available:
16# $ docker-compose run --rm framework /bin/bash
17
18version: '3'
19services:
20 os:
21 image: ${UPLOAD_PREFIX}chart/os:${OS_TAG}
22 build:
23 context: .
24 dockerfile: docker/os/Dockerfile
25 # container_name: chart_os
26
27 prereq:
28 image: ${UPLOAD_PREFIX}chart/prereq:${PREREQ_TAG}
29 build:
30 context: .
31 dockerfile: docker/prereq/Dockerfile
32 # network_mode: host
33 # container_name: chart_prereq
34
35 framework:
36 image: ${UPLOAD_PREFIX}chart/framework:${FRAMEWORK_TAG}
37 build:
38 context: .
39 dockerfile: docker/framework/Dockerfile
40 volumes:
41 - type: bind
42 source: /opt/chart
43 target: /app/chart
44 # - chart_framework:/app/chart
45 network_mode: host
46 # container_name: chart_framework
47
48# volumes:
49 # chart_framework: {}