Mercurial > libervia-backend
comparison docker/web-demo.yml @ 3512:d018d2d8a9e5
docker: separate build instructions for demo compose file
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 23 Apr 2021 10:08:58 +0200 |
parents | db0f4d419448 |
children | f35ba048687e |
comparison
equal
deleted
inserted
replaced
3511:db0f4d419448 | 3512:d018d2d8a9e5 |
---|---|
1 version: "3.6" | 1 version: "3.6" |
2 services: | 2 services: |
3 | 3 |
4 prosody: | 4 prosody: |
5 image: libervia/prosody:demo | 5 image: libervia/prosody:demo |
6 build: prosody-demo | |
7 depends_on: | 6 depends_on: |
8 # we need to depend on backend to get IP address of the container for conf | 7 # we need to depend on backend to get IP address of the container for conf |
9 - backend | 8 - backend |
10 tmpfs: /var/lib/prosody | 9 tmpfs: /var/lib/prosody |
11 tmpfs: /var/log/prosody | 10 tmpfs: /var/log/prosody |
20 POSTGRES_PASSWORD: test_e2e | 19 POSTGRES_PASSWORD: test_e2e |
21 POSTGRES_DB: pubsub | 20 POSTGRES_DB: pubsub |
22 tmpfs: /var/lib/postgresql/data | 21 tmpfs: /var/lib/postgresql/data |
23 | 22 |
24 pubsub: | 23 pubsub: |
25 build: pubsub | |
26 image: libervia/pubsub | 24 image: libervia/pubsub |
27 depends_on: | 25 depends_on: |
28 - db | 26 - db |
29 - prosody | 27 - prosody |
30 environment: | 28 environment: |
35 LIBERVIA_PUBSUB_JID: pubsub.server1.test | 33 LIBERVIA_PUBSUB_JID: pubsub.server1.test |
36 LIBERVIA_PUBSUB_XMPP_PWD: test_e2e | 34 LIBERVIA_PUBSUB_XMPP_PWD: test_e2e |
37 | 35 |
38 backend: | 36 backend: |
39 image: libervia/backend:dev-demo | 37 image: libervia/backend:dev-demo |
40 build: backend-dev-demo | |
41 volumes: | 38 volumes: |
42 - libervia-web-demo_data:/home/libervia/.local/share/libervia | 39 - libervia-web-demo_data:/home/libervia/.local/share/libervia |
43 ports: | 40 ports: |
44 # HTTP Upload | 41 # HTTP Upload |
45 - "7777:7777" | 42 - "7777:7777" |
48 aliases: | 45 aliases: |
49 - libervia-backend.test | 46 - libervia-backend.test |
50 | 47 |
51 web: | 48 web: |
52 image: libervia/web:dev-demo | 49 image: libervia/web:dev-demo |
53 build: libervia-web-dev-demo | |
54 depends_on: | 50 depends_on: |
55 - backend | 51 - backend |
56 environment: | 52 environment: |
57 LIBERVIA_PASSPHRASE: test_demo | 53 LIBERVIA_PASSPHRASE: test_demo |
58 volumes: | 54 volumes: |