Skip to content

Commit c5738cb

Browse files
committed
- Fixed httpS omission
- Removed explicit SSL types from nginx - Changed default database name to 'metadata' in both postgres & torkeep config files - Changed the GMS after conversation with Patrick Dowler at CADC (still to be tested - API token generation etc.) - Separated the dbase docker-compose from the rest of the services (dbase can now be stateful if required AND dbase needs to be setup before starting the torkeep service) - Updated the 'reg' component to use a new image (bug fix for the availability API)
1 parent 9c52ecb commit c5738cb

6 files changed

+37
-20
lines changed

config/cadc-registry.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## configure RegistryClient (required)
2-
ca.nrc.cadc.reg.client.RegistryClient.baseURL = http://src-data-repo.co.uk/reg
2+
ca.nrc.cadc.reg.client.RegistryClient.baseURL = https://src-data-repo.co.uk/reg
33

44
## SRC IAM prototype
55
ivo://ivoa.net/sso#OpenID = https://ska-iam.stfc.ac.uk/

config/nginx/nginx.conf

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@ events {}
22

33
http {
44
server {
5-
listen 80;
5+
listen 80;
66
listen 443 ssl;
77
server_name src-data-repo.co.uk;
88

99
ssl_certificate /etc/nginx/ssl/server.crt;
1010
ssl_certificate_key /etc/nginx/ssl/server.key;
1111

12-
ssl_protocols TLSv1.3 TLSv1.2;
13-
ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!SHA1:!DSS;
14-
1512

1613
location /reg/ {
1714
proxy_pass http://localhost:8881;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
CATALOGS="cadctest"
1+
CATALOGS="metadata"
22
SCHEMAS="caom2 tap_schema tap_upload uws inventory vospace"

config/reg/reg-resource-caps.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#First, global services:
22

33
ivo://skao.int/reg = https://src-data-repo.co.uk/reg/capabilities
4-
ivo://skao.int/gms = https://ska-iam.stfc.ac.uk/gms/capabilities
4+
#ivo://skao.int/gms = https://ska-iam.stfc.ac.uk/gms/capabilities
5+
ivo://skao.int/gms = https://ska-gms.stfc.ac.uk/gms/capabilities
56
ivo://skao.int/baldur = https://src-data-repo.co.uk/baldur/capabilities
67

78
#The `reg` self-registration is not actually used by anything, but it claims that resourceID for that service. The `gms` URL is probably wrong - the example is just to show it's related to IAM server but the value will come from purple team.

docker-compose-dbase.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
services:
2+
pg15test:
3+
image: stephenlloyd/uksrc:cadc-postgresql-dev
4+
container_name: pg15test
5+
ports:
6+
- "5432:5432"
7+
volumes:
8+
- ./config/postgres:/config
9+
- ./config/cacerts:/config/cacerts
10+
restart: always
11+
networks:
12+
- mynetwork
13+
14+
networks:
15+
mynetwork:
16+
driver: bridge

docker-compose.yml

+16-13
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
11
services:
22
reg:
3-
image: images.opencadc.org/core/reg:1.1.0
3+
image: images.opencadc.org/core/reg:1.1.1
44
container_name: reg
55
user: "tomcat:tomcat"
66
ports:
77
- "8881:8080"
88
volumes:
99
- ./config/reg:/config
1010
- ./config/cacerts:/config/cacerts
11+
- ./config/cadc-registry.properties:/config/cadc-registry.properties:ro
1112
networks:
1213
- mynetwork
1314

1415
baldur:
15-
image: stephenlloyd/uksrc:baldur
16+
image: images.opencadc.org/storage-inventory/baldur:0.3.7
1617
container_name: baldur
1718
user: "tomcat:tomcat"
1819
ports:
1920
- "8882:8080"
2021
volumes:
2122
- ./config/baldur:/config
2223
- ./config/cacerts:/config/cacerts
24+
- ./config/cadc-registry.properties:/config/cadc-registry.properties:ro
2325
networks:
2426
- mynetwork
2527

26-
pg15test:
27-
image: stephenlloyd/uksrc:cadc-postgresql-dev
28-
container_name: pg15test
29-
ports:
30-
- "5432:5432"
31-
volumes:
32-
- ./config/postgres:/config
33-
- ./config/cacerts:/config/cacerts
34-
restart: always
35-
networks:
36-
- mynetwork
28+
# pg15test:
29+
# image: stephenlloyd/uksrc:cadc-postgresql-dev
30+
# container_name: pg15test
31+
# ports:
32+
# - "5432:5432"
33+
# volumes:
34+
# - ./config/postgres:/config
35+
# - ./config/cacerts:/config/cacerts
36+
# restart: always
37+
# networks:
38+
# - mynetwork
3739

3840
torkeep:
3941
image: images.opencadc.org/caom2/torkeep:0.1.4
@@ -46,6 +48,7 @@ services:
4648
- ./config/cacerts:/config/cacerts
4749
- ./config/cadc-registry.properties:/config/cadc-registry.properties:ro
4850
- ./logs:/logs:ro
51+
restart: always
4952
networks:
5053
- mynetwork
5154

0 commit comments

Comments
 (0)