File: docker-compose.yml

package info (click to toggle)
podman-compose 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,004 kB
  • sloc: python: 10,946; sh: 107; javascript: 48; makefile: 13
file content (34 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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