File: compose.yaml

package info (click to toggle)
docker-compose 2.32.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,300 kB
  • sloc: makefile: 113; sh: 2
file content (13 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
services:
  foo:
    image: alpine
    init: true
    entrypoint: ["sleep", "600"]
    networks:
      default:
        ipv4_address: 10.1.0.100  # <-- Fixed IP address
networks:
  default:
    ipam:
      config:
        - subnet: 10.1.0.0/16