feat: add JB run configuration
This commit is contained in:
parent
ac3695d31a
commit
f2f9e10f0e
21
.run/debug application with docker.run.xml
Normal file
21
.run/debug application with docker.run.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="debug application with docker" type="docker-deploy" factoryName="dockerfile" server-name="Docker">
|
||||||
|
<deployment type="dockerfile">
|
||||||
|
<settings>
|
||||||
|
<option name="imageTag" value="psssix/golang-app:debug" />
|
||||||
|
<option name="containerName" value="golang-app" />
|
||||||
|
<option name="portBindings">
|
||||||
|
<list>
|
||||||
|
<DockerPortBindingImpl>
|
||||||
|
<option name="containerPort" value="4040" />
|
||||||
|
<option name="hostPort" value="4040" />
|
||||||
|
</DockerPortBindingImpl>
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
<option name="commandLineOptions" value="--security-opt="apparmor=unconfined" --cap-add=SYS_PTRACE --env-file .env.docker" />
|
||||||
|
<option name="sourceFilePath" value="Debug.Dockerfile" />
|
||||||
|
</settings>
|
||||||
|
</deployment>
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
Loading…
x
Reference in New Issue
Block a user