File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,39 @@ instances:
6060 - 80:80
6161` ` `
6262
63- and here is a version 2.0 spec that shows adding networking and exec options :
63+ and [here](https://github.com/singularityhub/singularity-compose-examples/tree/4241ea8b4e068d93859acb7d2b924702815af0ce/v2.0/ping)
64+ is a version 2.0 spec that shows adding networking and exec options :
6465
6566` ` ` yaml
67+ version: "2.0"
68+ instances:
69+ alp1:
70+ build:
71+ context: ./alp1
72+ options:
73+ - fakeroot
74+ ports:
75+ - "1025:1025"
76+ start:
77+ options:
78+ - fakeroot
79+ exec:
80+ options:
81+ - "env-file=myvars.env"
82+ command: printenv SUPERHERO
83+ alp2:
84+ build:
85+ context: ./alp2
86+ options:
87+ - fakeroot
88+ ports:
89+ - "1026:1026"
90+ start:
91+ options:
92+ - fakeroot
93+ run: []
94+ depends_on:
95+ - alp1
6696` ` `
6797
6898If you are familiar with [docker-compose](https://docs.docker.com/compose/)
You can’t perform that action at this time.
0 commit comments