Mercurial > libervia-backend
annotate docker/web-demo.yml @ 4351:6a0a081485b8
plugin autocrypt: Autocrypt protocol implementation:
Implementation of autocrypt: `autocrypt` header is checked, and if present and no public
key is known for the peer, the key is imported.
`autocrypt` header is also added to outgoing message (only if an email gateway is
detected).
For the moment, the JID is use as identifier, but the real email used by gateway should be
used in the future.
rel 456
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 28 Feb 2025 09:23:35 +0100 |
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: |