@@ -13,99 +13,14 @@ services:
13
13
- ServiceSettings__Databases__3__Name=database-2
14
14
- ServiceSettings__Databases__3__ConnectionString=/csd-data/database-2
15
15
16
- # Notes:
17
- # If using CSD-Theory, the CSD-Theory Landscape database must be listed in the volumes, but the metadata database
18
- # (CSPDatabase.db) does not. See below for more information.
19
- # The path in which the databases must be mounted is `/csd-data`.
20
- # For each database there must be 2 corresponding environment variables:
21
- # - ServiceSettings__Databases__N__Name=<database name>
22
- # - ServiceSettings__Databases__N__ConnectionString=<database path>
23
- # where
24
- # - N is a unique integer for each database, which should start from 2
25
- # - <database name> is how the name of the database will appear in the UI
26
- # - <database path> should match the right side of the volume definition above.
27
- #
28
- # Further configuration can be made to allocate a colour to a database.
29
- # This can be done by adding the following setting to a database. Any legal CSS color value can be used.
30
- # - ServiceSettings__Databases__N__Colour=#FF0000
31
- # - ServiceSettings__Databases__N__Colour=red
32
- # - ServiceSettings__Databases__N__Colour=rgba(255, 0, 0, 0.5)
33
- #
34
- #
35
- # Example:
36
- # Given that you have a database called test-db at the location /usr/local/data/test-db.csdsqlx and
37
- # given that you have a landscape database called landscape-db at the location /usr/local/data/landscape-db.csdsqlx
38
- # To use the test-db.csdsqlx database and landscape-db.csdsqlx, the webcsdbackend node will look like this
39
- #
40
- # services:
41
- # webcsdbackend:
42
- # volumes:
43
- # - /usr/local/data/test-db.csdsqlx:/csd-data/test-db.csdsqlx
44
- # - /usr/local/data/landscape-db.csdsqlx:/csd-data/landscape-db.csdsqlx
45
- # environment:
46
- # - ServiceSettings__Databases__2__Name=test-db
47
- # - ServiceSettings__Databases__2__ConnectionString=/csd-data/test-db.csdsqlx
48
- # - ServiceSettings__Databases__2__Colour=red
49
- # - ServiceSettings__Databases__3__Name=Landscape
50
- # - ServiceSettings__Databases__3__ConnectionString=/csd-data/landscape-db.csdsqlx
51
-
52
- # ########################################################################################################
53
- # Kubernetes Users
54
- # Please refer to the README regarding additional steps required for adding your in-house databases.
55
- # ########################################################################################################
56
-
57
16
webcsd :
58
17
volumes :
59
18
- ./path/to/structure/files:/structure-files
60
19
61
- # Structure File Links:
62
- # If you are using structure file links, include your .CSV file containg the mappings of links to structures
63
- # within the csd-data folder.
64
- #
65
- # If you are not using structure file links, then ignore this section and do not include the above snippet in your
66
- # docker-compose file.
67
- #
68
- # If you are using structure file links, you need a .CSV file containing mappings of links to structures.
69
- # Place the .CSV file in your csd-data folder along with your in-house database files for webcsdbackend (see above).
70
- # When performing a docker-compose up, this will upload the file to the correct location.
71
- #
72
- # The associated files, that are linked to from the .CSV file, should be mapped to a folder in webcsd. Simply replace
73
- # the /path/to/structure/files in the example above with your local path where the structure files are stored.
74
-
75
- # ########################################################################################################
76
- # Kubernetes Users
77
- # Please refer to the README regarding additional steps required for implementing Structure File links.
78
- # ########################################################################################################
79
-
80
20
webcsd-theory :
81
21
volumes :
82
22
- /path/to/CSD-Theory Metadata Database:/app/CSPDatabase.db
83
23
- /path/to/CSD-Theory Landscape Database:/app/databases/CSPLandscape.csdsqlx
84
24
environment :
85
25
- ReportSettings__CspStructureDatabaseConnectionString=/app/databases/CSPLandscape.csdsqlx
86
- - ReverseProxy__Clusters__csdtheory__Destinations__csdtheory/destination1__Address=http://webcsd-theory:${WEBCSD_PORT}
87
-
88
- # See the wiki page for a description of the two CSD-Theory databases.
89
-
90
- # ########################################################################################################
91
- # Kubernetes Users
92
- # When converting to Kubernetes, only specify the second setting, for example:
93
- # webcsd-theory:
94
- # volumes:
95
- # - /path/to/CSD-Theory Landscape Database:/app/databases
96
- # This will create a persistent volume and claim for the location of the landscape database.
97
- # ########################################################################################################
98
-
99
- # Example:
100
- # Given that you have a landscape database called landscape-db at the location /usr/local/data/landscape-db.csdsqlx
101
- # and a metadata database called metadata-db at the location /usr/local/data/metadata-db.db,
102
- # to use these databases the csd-theory section of the file will look like this
103
- #
104
- # webcsd-theory:
105
- # volumes:
106
- # - /usr/local/data/metadata-db.db:/app/CSPDatabase.db
107
- # - /usr/local/data/landscape-db.csdsqlx:/app/databases/landscape-db.csdsqlx
108
- # environment:
109
- # - ReportSettings__CspStructureDatabaseConnectionString=/app/databases/landscape-db.csdsqlx
110
- # - ReverseProxy__Clusters__csdtheory__Destinations__csdtheory/destination1__Address=http://webcsd-theory:8080
111
- #
26
+ - ReverseProxy__Clusters__csdtheory__Destinations__csdtheory/destination1__Address=http://webcsd-theory:${WEBCSD_PORT}
0 commit comments