fix: build from image
This commit is contained in:
parent
63556d734f
commit
e630bb034c
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,7 @@ from compose_viz.extends import Extends
|
||||||
('tests/in/000100.yaml',Compose([
|
('tests/in/000100.yaml',Compose([
|
||||||
Service(
|
Service(
|
||||||
name='web',
|
name='web',
|
||||||
|
image='build from .',
|
||||||
ports=['8000:5000'],
|
ports=['8000:5000'],
|
||||||
),
|
),
|
||||||
Service(
|
Service(
|
||||||
|
@ -121,6 +122,7 @@ from compose_viz.extends import Extends
|
||||||
('tests/in/001000.yaml',Compose([
|
('tests/in/001000.yaml',Compose([
|
||||||
Service(
|
Service(
|
||||||
name='web',
|
name='web',
|
||||||
|
image='build from .',
|
||||||
depends_on=['db','redis'],
|
depends_on=['db','redis'],
|
||||||
),
|
),
|
||||||
Service(
|
Service(
|
||||||
|
@ -153,6 +155,7 @@ from compose_viz.extends import Extends
|
||||||
('tests/in/001010.yaml',Compose([
|
('tests/in/001010.yaml',Compose([
|
||||||
Service(
|
Service(
|
||||||
name='web',
|
name='web',
|
||||||
|
image='build from .',
|
||||||
depends_on=['db','redis'],
|
depends_on=['db','redis'],
|
||||||
extends=Extends(service_name='redis'),
|
extends=Extends(service_name='redis'),
|
||||||
),
|
),
|
||||||
|
@ -464,6 +467,7 @@ from compose_viz.extends import Extends
|
||||||
('tests/in/011101.yaml',Compose([
|
('tests/in/011101.yaml',Compose([
|
||||||
Service(
|
Service(
|
||||||
name='vote',
|
name='vote',
|
||||||
|
image='build from ./',
|
||||||
depends_on=['redis'],
|
depends_on=['redis'],
|
||||||
volumes=['app'],
|
volumes=['app'],
|
||||||
ports=['5000:80'],
|
ports=['5000:80'],
|
||||||
|
@ -471,6 +475,7 @@ from compose_viz.extends import Extends
|
||||||
),
|
),
|
||||||
Service(
|
Service(
|
||||||
name='result',
|
name='result',
|
||||||
|
image='build from ./',
|
||||||
depends_on=['db'],
|
depends_on=['db'],
|
||||||
volumes=['app'],
|
volumes=['app'],
|
||||||
ports=['5001:80','5858:5858'],
|
ports=['5001:80','5858:5858'],
|
||||||
|
@ -478,6 +483,7 @@ from compose_viz.extends import Extends
|
||||||
),
|
),
|
||||||
Service(
|
Service(
|
||||||
name='worker',
|
name='worker',
|
||||||
|
image='build from ./',
|
||||||
depends_on=['redis','db'],
|
depends_on=['redis','db'],
|
||||||
networks=['back-tier'],
|
networks=['back-tier'],
|
||||||
),
|
),
|
||||||
|
@ -536,6 +542,7 @@ from compose_viz.extends import Extends
|
||||||
('tests/in/100000.yaml',Compose([
|
('tests/in/100000.yaml',Compose([
|
||||||
Service(
|
Service(
|
||||||
name='web',
|
name='web',
|
||||||
|
image='build from .',
|
||||||
links=['db:database'],
|
links=['db:database'],
|
||||||
),
|
),
|
||||||
Service(
|
Service(
|
||||||
|
|
Loading…
Reference in a new issue