Mercurial > libervia-backend
comparison docker/docker-compose-e2e.yml @ 3497:73e04040d577
docker: update following name changes:
`backend_e2e` now print properly backend logs
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Apr 2021 18:32:16 +0200 |
parents | docker/docker-compose_e2e.yml@d9955bb10d15 |
children | 0ffaa231138c |
comparison
equal
deleted
inserted
replaced
3496:c018c510a562 | 3497:73e04040d577 |
---|---|
1 version: "3.6" | |
2 services: | |
3 | |
4 prosody: | |
5 image: libervia/prosody:e2e | |
6 build: prosody-e2e | |
7 depends_on: | |
8 # we need to depend on backend to get IP address of the container for conf | |
9 - backend | |
10 tmpfs: /var/lib/prosody | |
11 tmpfs: /var/log/prosody | |
12 networks: | |
13 default: | |
14 aliases: | |
15 - server1.test | |
16 - server2.test | |
17 - server3.test | |
18 | |
19 db: | |
20 image: postgres | |
21 environment: | |
22 POSTGRES_PASSWORD: test_e2e | |
23 POSTGRES_DB: pubsub | |
24 tmpfs: /var/lib/postgresql/data | |
25 | |
26 pubsub: | |
27 build: pubsub | |
28 image: libervia/pubsub | |
29 depends_on: | |
30 - db | |
31 - prosody | |
32 environment: | |
33 PGHOST: db | |
34 PGUSER: postgres | |
35 PGPASSWORD: test_e2e | |
36 LIBERVIA_PUBSUB_RHOST: server1.test | |
37 LIBERVIA_PUBSUB_JID: pubsub.server1.test | |
38 LIBERVIA_PUBSUB_XMPP_PWD: test_e2e | |
39 | |
40 backend: | |
41 image: libervia/backend:dev-e2e | |
42 build: backend-dev-e2e | |
43 environment: | |
44 LIBERVIA_TEST_ENV_E2E: "1" | |
45 LIBERVIA_TEST_ENV_E2E_WEB: "1" | |
46 volumes: | |
47 - libervia_data:/home/libervia/.local/share/libervia | |
48 ports: | |
49 # VNC server for Libervia e2e tests visual mode | |
50 - 5900 | |
51 networks: | |
52 default: | |
53 aliases: | |
54 - libervia-backend.test | |
55 | |
56 web: | |
57 image: libervia/web:dev-e2e | |
58 build: libervia-web-dev-e2e | |
59 depends_on: | |
60 - backend | |
61 environment: | |
62 LIBERVIA_PASSPHRASE: test_e2e | |
63 volumes: | |
64 - libervia_data:/home/libervia/.local/share/libervia | |
65 ports: | |
66 - "8080" | |
67 - "8443" | |
68 networks: | |
69 default: | |
70 aliases: | |
71 - libervia-web.test | |
72 | |
73 volumes: | |
74 libervia_data: |