blob: 0f45b075f537569b288c249595ff6309ac083801 (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
valid_services_list:
services:
- php:7
- node:latest
- golang:1.10
valid_services_object:
services:
- name: my-postgres:11.7
alias: db-postgres
entrypoint: ["/usr/local/bin/db-postgres"]
command: ["start"]
services_with_variables:
services:
- name: bitnami/nginx
alias: nginx
variables:
NGINX_HTTP_PORT_NUMBER: ${NGINX_HTTP_PORT_NUMBER}
pull_policy_string:
script: echo "A single pull policy."
services:
- name: postgres:11.6
pull_policy: if-not-present
pull_policy_array:
script: echo "Multiple pull policies."
services:
- name: postgres:11.6
pull_policy: [always, if-not-present]
services_platform_string:
script: echo "Specifying platform."
services:
- name: mysql:5.7
docker:
platform: arm64
services_with_docker_user:
script: echo "Specifying platform."
services:
- name: mysql:5.7
docker:
user: ubuntu
services_with_docker_multiple_options:
script: echo "Specifying platform."
services:
- name: mysql:5.7
docker:
platform: linux/arm64
user: ubuntu
|