Mercurial > libervia-backend
annotate docker/web-demo_build.yml @ 4100:810921c33a47
tools (common/template): add filter to get media types:
Add 2 filters to get main type and subtype of media type. Jinja2 and Nunjucks don't handle
slices in the same way (Python way for Jinja2, JS way for Nunjucks), making it difficult
to retrieve main type of a media from media type. Thoses filters work in both cases.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 22 Jun 2023 15:49:06 +0200 |
parents | d018d2d8a9e5 |
children |
rev | line source |
---|---|
3511
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 version: "3.6" |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 services: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 prosody: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 image: libervia/prosody:demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 build: prosody-demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 backend: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 image: libervia/backend:dev-demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 build: backend-dev-demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 web: |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 image: libervia/web:dev-demo |
db0f4d419448
docker: add demo images and compose file
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 build: libervia-web-dev-demo |