You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
456 B
YAML
26 lines
456 B
YAML
2 years ago
|
version: "3.5"
|
||
|
services:
|
||
|
my-service:
|
||
|
build:
|
||
|
dockerfile: Dockerfile
|
||
|
context: .
|
||
|
command: /app/print-random-stuff.sh
|
||
|
depends_on:
|
||
|
- my-service2
|
||
|
ports:
|
||
|
- 123:321
|
||
|
|
||
|
my-service2:
|
||
|
build:
|
||
|
dockerfile: Dockerfile
|
||
|
context: .
|
||
|
command: /app/print-random-stuff.sh
|
||
|
ports:
|
||
|
- 12345:12345
|
||
|
|
||
|
my-service3:
|
||
|
build:
|
||
|
dockerfile: Dockerfile
|
||
|
context: .
|
||
|
command: /app/print-random-stuff.sh
|