2024-06-20 19:09:32 +00:00
|
|
|
# yaml-language-server: $schema=https://cdn.jsdelivr.net/gh/compose-spec/compose-spec@master/schema/compose-spec.json
|
2020-07-08 17:15:53 +00:00
|
|
|
|
|
|
|
services:
|
2024-06-20 19:09:32 +00:00
|
|
|
develop:
|
|
|
|
build: {target: develop}
|
|
|
|
environment: {HOME: /tmp}
|
|
|
|
volumes: [.:/src:rw, tmp-data:/tmp:rw]
|
2023-02-23 17:50:35 +00:00
|
|
|
security_opt: [no-new-privileges:true]
|
2021-09-29 15:38:50 +00:00
|
|
|
|
|
|
|
web:
|
2024-06-20 19:09:32 +00:00
|
|
|
build: {target: runtime}
|
|
|
|
ports: ['8080:8080/tcp'] # open http://127.0.0.1:8080
|
2024-06-23 12:12:06 +00:00
|
|
|
command: --log-level debug serve --show-details --proxy-headers=X-Foo,Bar,Baz_blah
|
2024-06-20 19:09:32 +00:00
|
|
|
develop: # available since docker compose v2.22, https://docs.docker.com/compose/file-watch/
|
|
|
|
watch: [{action: rebuild, path: .}]
|
2023-02-23 17:50:35 +00:00
|
|
|
security_opt: [no-new-privileges:true]
|
2022-01-27 12:29:49 +00:00
|
|
|
|
|
|
|
hurl:
|
2024-04-27 10:52:16 +00:00
|
|
|
image: ghcr.io/orange-opensource/hurl:4.3.0
|
2024-06-20 19:09:32 +00:00
|
|
|
volumes: [.:/src:ro]
|
2022-01-27 12:29:49 +00:00
|
|
|
working_dir: /src
|
2024-06-20 19:09:32 +00:00
|
|
|
depends_on: {web: {condition: service_healthy}}
|
2023-02-23 17:50:35 +00:00
|
|
|
security_opt: [no-new-privileges:true]
|
2024-06-20 19:09:32 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
tmp-data: {}
|