-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (56 loc) · 1.25 KB
/
Copy pathdocker-compose.yml
File metadata and controls
60 lines (56 loc) · 1.25 KB
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
54
55
56
57
58
59
60
services:
main:
build:
context: './'
target: 'development'
volumes:
- './:/app:delegated'
- 'tmp:/mnt/tmp'
- 'ruby_bundle:/usr/local/bundle'
- 'xdg_cache:/home/node/.cache'
- 'xdg_config:/home/node/.config'
env_file: './.env'
command: ['/bin/bash']
stdin_open: true
tty: true
main_ci:
build:
context: './'
target: 'ci'
environment:
- CI=1
volumes:
- './:/app:delegated'
- '/mnt/tmp:/mnt/tmp:delegated'
command: ['/bin/bash', '-c', 'while true ; do wait ; done']
main_cd:
build:
context: './'
target: 'cd'
environment:
- CI=1
- SHOPIFY_FLAG_FORCE=1
# Compose forwards only the variables from this list
- DEVOPS_AWS_ACCESS_KEY_ID
- DEVOPS_AWS_REGION
- DEVOPS_AWS_SECRET_ACCESS_KEY
- DEVOPS_BUCKET_NAME
- SHOPIFY_CLI_ADMIN_AUTH_TOKEN
- SHOPIFY_CLI_TTY
- SHOPIFY_FLAG_STORE
- SHOPIFY_SHOP
- SHOPIFY_SHOP_HANDLE
- THEME_NAME
- UAT_INITIAL_CONTENT_SOURCE
networks:
- 'cd'
volumes:
- './:/app:delegated'
command: ['/bin/bash', '-c', 'while true ; do wait ; done']
networks:
cd:
volumes:
tmp:
ruby_bundle:
xdg_cache:
xdg_config: