Mercurial > libervia-backend
annotate docker/web-demo.yml @ 4044:3900626bc100
plugin XEP-0166: refactoring, and various improvments:
- add models for transport and applications handlers and linked data
- split models into separate file
- some type hints
- some documentation comments
- add actions to prepare confirmation, useful to do initial parsing of all contents
- application arg/kwargs and some transport data can be initialised during Jingle
`initiate` call, this is notably useful when a call is made with transport data (this is
the call for A/V calls where codecs and ICE candidate can be specified when starting a
call)
- session data can be specified during Jingle `initiate` call
- new `store_in_session` argument in `_parse_elements`, which can be used to avoid
race-condition when a context element (<decription> or <transport>) is being parsed for
an action while an other action happens (like `transport-info`)
- don't sed `sid` in `transport_elt` during a `transport-info` action anymore in
`build_action`: this is specific to Jingle File Transfer and has been moved there
rel 419
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 15 May 2023 16:23:11 +0200 |
parents | 87caf6284c55 |
children |
rev | line source |
---|---|
3511
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 version: "3.6" |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 services: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 prosody: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 image: libervia/prosody:demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 depends_on: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 # we need to depend on backend to get IP address of the container for conf |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 - backend |
3692
f35ba048687e
docker (web-demo): fix prosody `tmpfs` instruction
Goffi <goffi@goffi.org>
parents:
3512
diff
changeset
|
9 tmpfs: |
f35ba048687e
docker (web-demo): fix prosody `tmpfs` instruction
Goffi <goffi@goffi.org>
parents:
3512
diff
changeset
|
10 - /var/log/prosody |
3511
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 networks: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 default: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 aliases: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 - server1.test |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 db: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 image: postgres |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 environment: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 POSTGRES_PASSWORD: test_e2e |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 POSTGRES_DB: pubsub |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 tmpfs: /var/lib/postgresql/data |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 pubsub: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 image: libervia/pubsub |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
25 depends_on: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
26 - db |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
27 - prosody |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
28 environment: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
29 PGHOST: db |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
30 PGUSER: postgres |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
31 PGPASSWORD: test_e2e |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
32 LIBERVIA_PUBSUB_RHOST: server1.test |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
33 LIBERVIA_PUBSUB_JID: pubsub.server1.test |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
34 LIBERVIA_PUBSUB_XMPP_PWD: test_e2e |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
35 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
36 backend: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
37 image: libervia/backend:dev-demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
38 volumes: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
39 - libervia-web-demo_data:/home/libervia/.local/share/libervia |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
40 ports: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
41 # HTTP Upload |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
42 - "7777:7777" |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
43 networks: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
44 default: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
45 aliases: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
46 - libervia-backend.test |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
47 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
48 web: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
49 image: libervia/web:dev-demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
50 depends_on: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
51 - backend |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
52 environment: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
53 LIBERVIA_PASSPHRASE: test_demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
54 volumes: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
55 - libervia-web-demo_data:/home/libervia/.local/share/libervia |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
56 ports: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
57 - "8880:8880" |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
58 networks: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
59 default: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
60 aliases: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
61 - libervia-web.test |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
62 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
63 volumes: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
64 libervia-web-demo_data: |