chore: add devices, env_file, expose and profiles
This commit is contained in:
parent
603f552551
commit
1076459e7c
4 changed files with 53 additions and 0 deletions
12
tests/ymls/devices/docker-compose.yml
Normal file
12
tests/ymls/devices/docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
frontend:
|
||||||
|
image: awesome/frontend
|
||||||
|
devices:
|
||||||
|
- "/dev/ttyUSB0:/dev/ttyUSB0"
|
||||||
|
backend:
|
||||||
|
image: awesome/backend
|
||||||
|
devices:
|
||||||
|
- "/dev/ttyUSB1:/dev/ttyUSB1"
|
||||||
|
- "/dev/ttyUSB2:/dev/ttyUSB2"
|
15
tests/ymls/env_file/docker-compose.yml
Normal file
15
tests/ymls/env_file/docker-compose.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
frontend:
|
||||||
|
image: awesome/frontend
|
||||||
|
env_file: a.env
|
||||||
|
backend:
|
||||||
|
image: awesome/backend
|
||||||
|
env_file:
|
||||||
|
- b.env
|
||||||
|
db:
|
||||||
|
image: awesome/db
|
||||||
|
env_file:
|
||||||
|
- c.env
|
||||||
|
- d.env
|
12
tests/ymls/expose/docker-compose.yml
Normal file
12
tests/ymls/expose/docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
frontend:
|
||||||
|
image: awesome/frontend
|
||||||
|
expose:
|
||||||
|
- "27118"
|
||||||
|
backend:
|
||||||
|
image: awesome/backend
|
||||||
|
expose:
|
||||||
|
- "27017"
|
||||||
|
- "27018"
|
14
tests/ymls/profiles/docker-compose.yml
Normal file
14
tests/ymls/profiles/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
version: "3.9"
|
||||||
|
services:
|
||||||
|
frontend:
|
||||||
|
image: awesome/frontend
|
||||||
|
profiles: ["frontend"]
|
||||||
|
phpmyadmin:
|
||||||
|
image: phpmyadmin
|
||||||
|
profiles:
|
||||||
|
- debug
|
||||||
|
db:
|
||||||
|
image: awesome/db
|
||||||
|
profiles:
|
||||||
|
- db
|
||||||
|
- sql
|
Loading…
Reference in a new issue