Mercurial > libervia-backend
changeset 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 | 753d151da886 |
files | docker/web-demo.yml docker/web-demo_build.yml |
diffstat | 2 files changed, 14 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/docker/web-demo.yml Fri Apr 23 09:59:16 2021 +0200 +++ b/docker/web-demo.yml Fri Apr 23 10:08:58 2021 +0200 @@ -3,7 +3,6 @@ prosody: image: libervia/prosody:demo - build: prosody-demo depends_on: # we need to depend on backend to get IP address of the container for conf - backend @@ -22,7 +21,6 @@ tmpfs: /var/lib/postgresql/data pubsub: - build: pubsub image: libervia/pubsub depends_on: - db @@ -37,7 +35,6 @@ backend: image: libervia/backend:dev-demo - build: backend-dev-demo volumes: - libervia-web-demo_data:/home/libervia/.local/share/libervia ports: @@ -50,7 +47,6 @@ web: image: libervia/web:dev-demo - build: libervia-web-dev-demo depends_on: - backend environment:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/web-demo_build.yml Fri Apr 23 10:08:58 2021 +0200 @@ -0,0 +1,14 @@ +version: "3.6" +services: + + prosody: + image: libervia/prosody:demo + build: prosody-demo + + backend: + image: libervia/backend:dev-demo + build: backend-dev-demo + + web: + image: libervia/web:dev-demo + build: libervia-web-dev-demo