Skip to content

Instantly share code, notes, and snippets.

@inluxc
Last active December 7, 2018 10:59
Show Gist options
  • Save inluxc/5dad48fa07cf5e4062c98d0cf820cef4 to your computer and use it in GitHub Desktop.
Save inluxc/5dad48fa07cf5e4062c98d0cf820cef4 to your computer and use it in GitHub Desktop.
{
"cluster": "selenoid-1",
"containerDefinitions": [
{
"name": "selenoid",
"essential": true,
"cpu": 128,
"memory": 256,
"portMappings": [
{ "containerPort": 4444}
],
"environment": [
{ "name": "AWS_BUCKET_NAME", "value": selenoid" },
{ "name": "OVERRIDE_VIDEO_OUTPUT_DIR", "value": "/tmp/selenoid/video" }
],
"mountPoints": [
{ "containerPath": "/var/run/docker.sock", "sourceVolume": "docker", "readOnly": false },
{ "containerPath": "/opt/selenoid/video", "sourceVolume": "video", "readOnly": false },
{ "containerPath": "/opt/selenoid/log", "sourceVolume": "log", "readOnly": false }
]
}
],
"volumes": [
{
"host": { "sourcePath": "/var/run/docker.sock" },
"name": "docker"
},
{
"host": { "sourcePath": "/tmp/selenoid/video" },
"name": "video"
},
{
"host": { "sourcePath": "/tmp/selenoid/log" },
"name": "log"
}
],
"networkMode": "host"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment