mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-22 13:22:44 +01:00
34 lines
714 B
YAML
34 lines
714 B
YAML
---
|
|
networks:
|
|
net0:
|
|
ipam:
|
|
config:
|
|
- subnet: "172.19.3.0/24"
|
|
net1:
|
|
ipam:
|
|
config:
|
|
- subnet: "172.19.4.0/24"
|
|
services:
|
|
web1:
|
|
image: busybox
|
|
command: ["/bin/busybox", "httpd", "-f", "-h", "/tmp", "-p", "8001"]
|
|
networks:
|
|
net0:
|
|
ipv4_address: "172.19.3.11"
|
|
aliases:
|
|
- secure-web
|
|
net1:
|
|
ipv4_address: "172.19.4.11"
|
|
aliases:
|
|
- insecure-web
|
|
utils-net0:
|
|
image: busybox
|
|
command: ["/bin/busybox", "httpd", "-f", "-h", "/tmp", "-p", "8001"]
|
|
networks:
|
|
- net0
|
|
utils-net1:
|
|
image: busybox
|
|
command: ["/bin/busybox", "httpd", "-f", "-h", "/tmp", "-p", "8001"]
|
|
networks:
|
|
- net1
|