diff --git a/config/solid-server/readme.md b/config/solid-server/readme.md new file mode 100644 index 000000000..39fdf5867 --- /dev/null +++ b/config/solid-server/readme.md @@ -0,0 +1,3 @@ +solid-remote-server-compose.yaml && solid-remote-server-config.json are templates for deploying the server remotely. The server URL can be updated as needed, the current setup is for our deployment on opencommons. + +The config should be stored as /config/solid-server/solid-config.json and solid-remote-server-compose.yaml stored at the community solid server root. diff --git a/config/solid-server/solid-remote-server-compose.yaml b/config/solid-server/solid-remote-server-compose.yaml new file mode 100644 index 000000000..deab1197f --- /dev/null +++ b/config/solid-server/solid-remote-server-compose.yaml @@ -0,0 +1,13 @@ +services: + solid-server: + image: solidproject/community-server:7.0 + restart: always + user: root + ports: + - '3000:3000' + environment: + - BASE_URL=https://opencommons.https://opencommons.net + command: ['--baseUrl', 'https://opencommons.net'] + volumes: + - ./data/solid-data:/data + - ./config/solid-server/solid-config.json:/community-server/config/my-config.json diff --git a/config/solid-server/solid-remote-server-config.json b/config/solid-server/solid-remote-server-config.json new file mode 100644 index 000000000..2689a2c5f --- /dev/null +++ b/config/solid-server/solid-remote-server-config.json @@ -0,0 +1,51 @@ +{ + "@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld", + "import": [ + "css:config/app/init/static-root.json", + "css:config/app/main/default.json", + "css:config/app/variables/default.json", + "css:config/http/handler/default.json", + "css:config/http/middleware/default.json", + "css:config/http/notifications/all.json", + "css:config/http/server-factory/http.json", + "css:config/http/static/default.json", + "css:config/identity/access/public.json", + "css:config/identity/email/default.json", + "css:config/identity/handler/default.json", + "css:config/identity/oidc/default.json", + "css:config/identity/ownership/token.json", + "css:config/identity/pod/static.json", + "css:config/ldp/authentication/dpop-bearer.json", + "css:config/ldp/authorization/webacl.json", + "css:config/ldp/handler/default.json", + "css:config/ldp/metadata-parser/default.json", + "css:config/ldp/metadata-writer/default.json", + "css:config/ldp/modes/default.json", + "css:config/storage/backend/file.json", + "css:config/storage/key-value/resource-store.json", + "css:config/storage/location/pod.json", + "css:config/storage/middleware/default.json", + "css:config/util/auxiliary/acl.json", + "css:config/util/identifiers/suffix.json", + "css:config/util/index/default.json", + "css:config/util/logging/winston.json", + "css:config/util/representation-conversion/default.json", + "css:config/util/resource-locker/file.json", + "css:config/util/variables/default.json" + ], + "@graph": [], + "servers": [ + { + "serverUri": "https://opencommons.net/", + "locations": [ + { + "url": "https://opencommons.net/", + "availableMediaTypes": ["text/turtle"], + "basePath": "/", + "description": "This config was generated by generator and very basic" + } + ] + } + ], + "baseUrl": "https://opencommons.net/" +}