mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-11 09:11:47 +01:00
18472b53ac
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
35 lines
511 B
YAML
35 lines
511 B
YAML
version: '3.6'
|
|
|
|
x-deploy-base: &deploy-base
|
|
restart_policy:
|
|
delay: 2s
|
|
|
|
x-common: &common
|
|
network: host
|
|
deploy:
|
|
<<: *deploy-base
|
|
networks:
|
|
hostnet: {}
|
|
|
|
networks:
|
|
hostnet:
|
|
external: true
|
|
name: host
|
|
|
|
volumes:
|
|
node-red_data:
|
|
|
|
services:
|
|
node-red:
|
|
<<: *common
|
|
image: busybox
|
|
command: busybox httpd -h /data -f -p 8080
|
|
deploy:
|
|
<<: *deploy-base
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 32M
|
|
volumes:
|
|
- node-red_data:/data
|