Skip to content

Commit fe151e6

Browse files
committed
PLA-633 Remove comments
1 parent 277bb1f commit fe151e6

2 files changed

+2
-142
lines changed

docker-compose.sample-csd-theory-db-config.yml

+1-86
Original file line numberDiff line numberDiff line change
@@ -13,99 +13,14 @@ services:
1313
- ServiceSettings__Databases__3__Name=database-2
1414
- ServiceSettings__Databases__3__ConnectionString=/csd-data/database-2
1515

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-
5716
webcsd:
5817
volumes:
5918
- ./path/to/structure/files:/structure-files
6019

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-
8020
webcsd-theory:
8121
volumes:
8222
- /path/to/CSD-Theory Metadata Database:/app/CSPDatabase.db
8323
- /path/to/CSD-Theory Landscape Database:/app/databases/CSPLandscape.csdsqlx
8424
environment:
8525
- 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}
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Configure local database volumes here for On-Site only. If you are configuring for CSD-Theory, use the docker-compose.sample-onsite-only-db-config.yml file as a starting point.
2-
31
version: "3.6"
42

53
services:
@@ -13,59 +11,6 @@ services:
1311
- ServiceSettings__Databases__3__Name=database-2
1412
- ServiceSettings__Databases__3__ConnectionString=/csd-data/database-2
1513

16-
# Notes:
17-
# The path in which the databases must be mounted is `/csd-data`.
18-
# For each database there must be 2 corresponding environment variables:
19-
# - ServiceSettings__Databases__N__Name=<database name>
20-
# - ServiceSettings__Databases__N__ConnectionString=<database path>
21-
# where
22-
# - N is a unique integer for each database, which should start from 2
23-
# - <database name> is how the name of the database will appear in the UI
24-
# - <database path> should match the right side of the volume definition above.
25-
#
26-
# Further configuration can be made to allocate a colour to a database.
27-
# This can be done by adding the following setting to a database. Any legal CSS color value can be used.
28-
# - ServiceSettings__Databases__N__Colour=#FF0000
29-
# - ServiceSettings__Databases__N__Colour=red
30-
# - ServiceSettings__Databases__N__Colour=rgba(255, 0, 0, 0.5)
31-
#
32-
#
33-
# Example:
34-
# If you have a database called test-db at the location /usr/local/data/test-db.csdsqlx
35-
# To use the test-db.csdsqlx database the file will look like this
36-
# services:
37-
# webcsdbackend:
38-
# volumes:
39-
# - /usr/local/data/test-db.csdsqlx:/csd-data/test-db.csdsqlx
40-
# environment:
41-
# - ServiceSettings__Databases__2__Name=test-db
42-
# - ServiceSettings__Databases__2__ConnectionString=/csd-data/test-db.csdsqlx
43-
# - ServiceSettings__Databases__2__Colour=red
44-
45-
#########################################################################################################
46-
# Kubernetes Users
47-
# Please refer to the README regarding additional steps required for adding your in-house databases.
48-
#########################################################################################################
49-
5014
webcsd:
5115
volumes:
52-
- ./path/to/structure/files:/structure-files
53-
54-
# Structure File Links:
55-
# If you are using structure file links, include your .CSV file containg the mappings of links to structures
56-
# within the csd-data folder.
57-
#
58-
# If you are not using structure file links, then ignore this section and do not include the above snippet in your
59-
# docker-compose file.
60-
#
61-
# If you are using structure file links, you need a .CSV file containing mappings of links to structures.
62-
# Place the .CSV file in your csd-data folder along with your in-house database files for webcsdbackend (see above).
63-
# When performing a docker-compose up, this will upload the file to the correct location.
64-
#
65-
# The associated files, that are linked to from the .CSV file, should be mapped to a folder in webcsd. Simply replace
66-
# the /path/to/structure/files in the example above with your local path where the structure files are stored.
67-
68-
#########################################################################################################
69-
# Kubernetes Users
70-
# Please refer to the README regarding additional steps required for implementing Structure File links.
71-
#########################################################################################################
16+
- ./path/to/structure/files:/structure-files

0 commit comments

Comments
 (0)