annotate docker/web-demo.yml @ 3692:f35ba048687e

docker (web-demo): fix prosody `tmpfs` instruction
author Goffi <goffi@goffi.org>
date Thu, 21 Oct 2021 11:53:56 +0200
parents d018d2d8a9e5
children 87caf6284c55
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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/lib/prosody
f35ba048687e docker (web-demo): fix prosody `tmpfs` instruction
Goffi <goffi@goffi.org>
parents: 3512
diff changeset
11 - /var/log/prosody
3511
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
12 networks:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
13 default:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
14 aliases:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
15 - server1.test
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
16
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
17 db:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
18 image: postgres
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
19 environment:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
20 POSTGRES_PASSWORD: test_e2e
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
21 POSTGRES_DB: pubsub
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
22 tmpfs: /var/lib/postgresql/data
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
23
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
24 pubsub:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
25 image: libervia/pubsub
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
26 depends_on:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
27 - db
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
28 - prosody
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
29 environment:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
30 PGHOST: db
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
31 PGUSER: postgres
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
32 PGPASSWORD: test_e2e
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
33 LIBERVIA_PUBSUB_RHOST: server1.test
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
34 LIBERVIA_PUBSUB_JID: pubsub.server1.test
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
35 LIBERVIA_PUBSUB_XMPP_PWD: test_e2e
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
36
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
37 backend:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
38 image: libervia/backend:dev-demo
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
39 volumes:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
40 - libervia-web-demo_data:/home/libervia/.local/share/libervia
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
41 ports:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
42 # HTTP Upload
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
43 - "7777:7777"
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
44 networks:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
45 default:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
46 aliases:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
47 - libervia-backend.test
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
48
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
49 web:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
50 image: libervia/web:dev-demo
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
51 depends_on:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
52 - backend
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
53 environment:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
54 LIBERVIA_PASSPHRASE: test_demo
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
55 volumes:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
56 - libervia-web-demo_data:/home/libervia/.local/share/libervia
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
57 ports:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
58 - "8880:8880"
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
59 networks:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
60 default:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
61 aliases:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
62 - libervia-web.test
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
63
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
64 volumes:
db0f4d419448 docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff changeset
65 libervia-web-demo_data: