Mercurial > libervia-backend
comparison docker/docker-compose_e2e.yml @ 3381:127dde80a0a5
docker: dockers images, first draft:
This patch introduce new docker images, replacing the unmaintained ones which were in
sat_docs.
Images + docker-compose files are provided to use SàT backend and Libervia, but also to
integrate and configure Prosody and SàT PubSub to run end-to-end tests.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 19 Oct 2020 09:30:45 +0200 |
parents | |
children | b3e7e3c49d8f |
comparison
equal
deleted
inserted
replaced
3380:4dbf9fcbf26d | 3381:127dde80a0a5 |
---|---|
1 version: "3.6" | |
2 services: | |
3 | |
4 prosody: | |
5 build: prosody_e2e | |
6 image: salutatoi/prosody_e2e | |
7 depends_on: | |
8 # we need to depend on sat to get IP address of the container for conf | |
9 - sat | |
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: salutatoi/sat_pubsub | |
29 depends_on: | |
30 - db | |
31 - prosody | |
32 environment: | |
33 PGHOST: db | |
34 PGUSER: postgres | |
35 PGPASSWORD: test_e2e | |
36 SAT_PUBSUB_RHOST: server1.test | |
37 SAT_PUBSUB_JID: pubsub.server1.test | |
38 SAT_PUBSUB_XMPP_PWD: test_e2e | |
39 | |
40 sat: | |
41 build: backend_e2e | |
42 image: salutatoi/sat_e2e |