annotate docker/docker-compose_e2e.yml @ 3487:75427f0a5445

primivitus: updated constants following global renaming, config section is now `tui` instead of `primitivus`
author Goffi <goffi@goffi.org>
date Sun, 21 Mar 2021 18:16:52 +0100
parents d9955bb10d15
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3381
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 version: "3.6"
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 services:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
3
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 prosody:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5 build: prosody_e2e
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 image: salutatoi/prosody_e2e
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 depends_on:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 # we need to depend on sat to get IP address of the container for conf
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 - sat
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 tmpfs: /var/lib/prosody
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 tmpfs: /var/log/prosody
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 networks:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 default:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 aliases:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 - server1.test
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 - server2.test
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
17 - server3.test
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
18
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
19 db:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
20 image: postgres
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 environment:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 POSTGRES_PASSWORD: test_e2e
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 POSTGRES_DB: pubsub
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 tmpfs: /var/lib/postgresql/data
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
25
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
26 pubsub:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
27 build: pubsub
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
28 image: salutatoi/sat_pubsub
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
29 depends_on:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
30 - db
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
31 - prosody
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
32 environment:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
33 PGHOST: db
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
34 PGUSER: postgres
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
35 PGPASSWORD: test_e2e
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
36 SAT_PUBSUB_RHOST: server1.test
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
37 SAT_PUBSUB_JID: pubsub.server1.test
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
38 SAT_PUBSUB_XMPP_PWD: test_e2e
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
39
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
40 sat:
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
41 build: backend_e2e
127dde80a0a5 docker: dockers images, first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
42 image: salutatoi/sat_e2e
3387
b3e7e3c49d8f docker (compose): test environment variable + network alias:
Goffi <goffi@goffi.org>
parents: 3381
diff changeset
43 environment:
b3e7e3c49d8f docker (compose): test environment variable + network alias:
Goffi <goffi@goffi.org>
parents: 3381
diff changeset
44 SAT_TEST_ENV_E2E: "1"
3429
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
45 SAT_TEST_ENV_E2E_LIBERVIA: "1"
3432
d9955bb10d15 docker (e2e): use shared volume for SàT's local dir:
Goffi <goffi@goffi.org>
parents: 3429
diff changeset
46 volumes:
d9955bb10d15 docker (e2e): use shared volume for SàT's local dir:
Goffi <goffi@goffi.org>
parents: 3429
diff changeset
47 - sat_data:/home/sat/.local/share/sat
3429
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
48 ports:
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
49 # VNC server for Libervia e2e tests visual mode
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
50 - 5900
3387
b3e7e3c49d8f docker (compose): test environment variable + network alias:
Goffi <goffi@goffi.org>
parents: 3381
diff changeset
51 networks:
b3e7e3c49d8f docker (compose): test environment variable + network alias:
Goffi <goffi@goffi.org>
parents: 3381
diff changeset
52 default:
b3e7e3c49d8f docker (compose): test environment variable + network alias:
Goffi <goffi@goffi.org>
parents: 3381
diff changeset
53 aliases:
b3e7e3c49d8f docker (compose): test environment variable + network alias:
Goffi <goffi@goffi.org>
parents: 3381
diff changeset
54 - sat.test
3423
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
55
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
56 libervia:
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
57 image: salutatoi/libervia_e2e
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
58 build: libervia_e2e
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
59 depends_on:
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
60 - sat
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
61 environment:
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
62 LIBERVIA_PASSPHRASE: test_e2e
3432
d9955bb10d15 docker (e2e): use shared volume for SàT's local dir:
Goffi <goffi@goffi.org>
parents: 3429
diff changeset
63 volumes:
d9955bb10d15 docker (e2e): use shared volume for SàT's local dir:
Goffi <goffi@goffi.org>
parents: 3429
diff changeset
64 - sat_data:/home/sat/.local/share/sat
3423
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
65 ports:
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
66 - "8080"
0653be94ee5e docker: added libervia e2e image and include it in `docker-compose_e2e`:
Goffi <goffi@goffi.org>
parents: 3387
diff changeset
67 - "8443"
3429
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
68 networks:
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
69 default:
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
70 aliases:
d4558f3cbf13 tests, docker(e2e): added e2e tests for Libervia:
Goffi <goffi@goffi.org>
parents: 3423
diff changeset
71 - libervia.test
3432
d9955bb10d15 docker (e2e): use shared volume for SàT's local dir:
Goffi <goffi@goffi.org>
parents: 3429
diff changeset
72
d9955bb10d15 docker (e2e): use shared volume for SàT's local dir:
Goffi <goffi@goffi.org>
parents: 3429
diff changeset
73 volumes:
d9955bb10d15 docker (e2e): use shared volume for SàT's local dir:
Goffi <goffi@goffi.org>
parents: 3429
diff changeset
74 sat_data: