forked from sonm-io/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask.yaml
34 lines (34 loc) · 924 Bytes
/
task.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# docker image settings, required section
container:
# Image name to start on worker, required param.
image: httpd:latest
# Env variables that will be passed to container on start.
env:
param1: value1
param2: value2
param3: value3
# Add ability to pull container back.
commit_on_stop: true
# networks:
# - type: tinc
# subnet: "10.20.30.0/24"
# volumes:
# cifs:
# type: cifs
# options:
# share: samba-host.ru/share
# username: username
# password: password
# security: ntlm
# vers: 3.0
# mounts:
# - cifs:/mnt:rw
# - cifs:/opt:rw
# # custom registry settings, optional section
# registry:
# # if not empty, Worker will use given registry to pull an image from, optional param
# server_address: registry.user.io
# # registry username, optional param
# username: name
# # registry password, optional param
# password: secret