Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eea-services
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EEA
eea-services
Commits
6552a2e8
Commit
6552a2e8
authored
4 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
Custom UI
parent
fa451d06
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitmodules
+3
-0
3 additions, 0 deletions
.gitmodules
README.md
+7
-0
7 additions, 0 deletions
README.md
docker-compose.yml
+2
-1
2 additions, 1 deletion
docker-compose.yml
riot/Dockerfile
+37
-0
37 additions, 0 deletions
riot/Dockerfile
riot/config.json
+3
-2
3 additions, 2 deletions
riot/config.json
with
52 additions
and
3 deletions
.gitmodules
0 → 100644
+
3
−
0
View file @
6552a2e8
[submodule "riot-web"]
path = riot-web
url = https://gitlab.crans.org/eea/riot-web.git
This diff is collapsed.
Click to expand it.
README.md
+
7
−
0
View file @
6552a2e8
...
...
@@ -2,6 +2,13 @@
Services de vidéo conférences et autres pour maintenir les services durant la pandémie du COVID-19.
## Lancement
```
bash
sudo
docker-compose build riot
sudo
docker-compose up
-d
```
## Configuration initiale de postgres
```
bash
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
2
−
1
View file @
6552a2e8
...
...
@@ -65,7 +65,8 @@ services:
-
./postgres_data:/var/lib/postgresql/data
riot
:
image
:
vectorim/riot-web:v1.5.12
build
:
context
:
riot
restart
:
always
volumes
:
-
./riot/config.json:/app/config.json:ro
...
...
This diff is collapsed.
Click to expand it.
riot/Dockerfile
0 → 100644
+
37
−
0
View file @
6552a2e8
# Builder
FROM
node:10
as
builder
# Support custom branches of the react-sdk and js-sdk. This also helps us build
# images of riot-web develop.
ARG
USE_CUSTOM_SDKS=true
ARG
REACT_SDK_REPO="https://gitlab.crans.org/eea/matrix-react-sdk.git"
ARG
REACT_SDK_BRANCH="eea"
ARG
JS_SDK_REPO="https://github.com/matrix-org/matrix-js-sdk.git"
ARG
JS_SDK_BRANCH="master"
RUN
apt-get update
&&
apt-get
install
-y
git dos2unix
WORKDIR
/src
RUN
git clone https://github.com/vector-im/riot-web.git /src
RUN
dos2unix /src/scripts/docker-link-repos.sh
&&
bash /src/scripts/docker-link-repos.sh
RUN
yarn
--network-timeout
=
100000
install
RUN
yarn build
# Copy the config now so that we don't create another layer in the app image
RUN
cp
/src/config.sample.json /src/webapp/config.json
# Ensure we populate the version file
RUN
dos2unix /src/scripts/docker-write-version.sh
&&
bash /src/scripts/docker-write-version.sh
# App
FROM
nginx:alpine
COPY
--from=builder /src/webapp /app
# Insert wasm type into Nginx mime.types file so they load correctly.
RUN
sed
-i
'3i\ \ \ \ application/wasm wasm\;'
/etc/nginx/mime.types
RUN
rm
-rf
/usr/share/nginx/html
\
&&
ln
-s
/app /usr/share/nginx/html
This diff is collapsed.
Click to expand it.
riot/config.json
+
3
−
2
View file @
6552a2e8
...
...
@@ -23,7 +23,7 @@
"integrations_ui_url"
:
""
,
"integrations_rest_url"
:
""
,
"integrations_widgets_urls"
:
[],
"integrations_jitsi_widget_url"
:
"https://
scalar.vector.im/api/widgets/jitsi.html
"
,
"integrations_jitsi_widget_url"
:
"https://
jitsi.crans.org
"
,
"bug_report_endpoint_url"
:
""
,
"defaultCountryCode"
:
"FR"
,
"showLabsSettings"
:
false
,
...
...
@@ -43,6 +43,7 @@
"settingDefaults"
:
{
"breadcrumbs"
:
true
},
"disable_custom_urls"
:
true
"disable_custom_urls"
:
true
,
"permalinkPrefix"
:
"https://eea.crans.org"
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment