docker: separate build instructions for demo compose file
This commit is contained in:
parent
a2e7469f09
commit
65e519efd3
2 changed files with 14 additions and 4 deletions
|
|
@ -3,7 +3,6 @@ services:
|
||||||
|
|
||||||
prosody:
|
prosody:
|
||||||
image: libervia/prosody:demo
|
image: libervia/prosody:demo
|
||||||
build: prosody-demo
|
|
||||||
depends_on:
|
depends_on:
|
||||||
# we need to depend on backend to get IP address of the container for conf
|
# we need to depend on backend to get IP address of the container for conf
|
||||||
- backend
|
- backend
|
||||||
|
|
@ -22,7 +21,6 @@ services:
|
||||||
tmpfs: /var/lib/postgresql/data
|
tmpfs: /var/lib/postgresql/data
|
||||||
|
|
||||||
pubsub:
|
pubsub:
|
||||||
build: pubsub
|
|
||||||
image: libervia/pubsub
|
image: libervia/pubsub
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
@ -37,7 +35,6 @@ services:
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image: libervia/backend:dev-demo
|
image: libervia/backend:dev-demo
|
||||||
build: backend-dev-demo
|
|
||||||
volumes:
|
volumes:
|
||||||
- libervia-web-demo_data:/home/libervia/.local/share/libervia
|
- libervia-web-demo_data:/home/libervia/.local/share/libervia
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -50,7 +47,6 @@ services:
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: libervia/web:dev-demo
|
image: libervia/web:dev-demo
|
||||||
build: libervia-web-dev-demo
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
14
docker/web-demo_build.yml
Normal file
14
docker/web-demo_build.yml
Normal file
|
|
@ -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
|
||||||
Loading…
Reference in a new issue