-
Notifications
You must be signed in to change notification settings - Fork 8
/
devspace.yaml.dist
132 lines (131 loc) · 3.36 KB
/
devspace.yaml.dist
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: v1beta11
vars:
- name: SHOPWARE_VERSION
source: env
default: "6.4.14.0"
- name: PHP_VERSION
source: env
default: "8.1"
- name: IMAGE_VERSION
source: env
default: "alpine3.15"
images:
app-server:
# Use the image name from your repository of choice - this is just an example which you cannot push to.
image: kiweeteam/shopware-demo
injectRestartHelper: true
dockerfile: ./docker/Dockerfile
context: ./docker/
build:
docker:
options:
target: web
buildArgs:
SHOPWARE_VERSION: ${SHOPWARE_VERSION}
IMAGE_VERSION: ${IMAGE_VERSION}
PHP_VERSION: ${PHP_VERSION}
# recommended skipPush=true for a local cluster, but must be false for a remote one.
skipPush: true
preferMinikube: true
job-scheduler:
image: kiweeteam/shopware-demo-js
injectRestartHelper: true
dockerfile: ./docker/Dockerfile
context: ./docker/
build:
docker:
options:
target: job-scheduler
buildArgs:
SHOPWARE_VERSION: ${SHOPWARE_VERSION}
IMAGE_VERSION: ${IMAGE_VERSION}
PHP_VERSION: ${PHP_VERSION}
# recommended skipPush=true for a local cluster, but must be false for a remote one.
skipPush: true
preferMinikube: true
message-consumer:
image: kiweeteam/shopware-demo-mc
injectRestartHelper: true
dockerfile: ./docker/Dockerfile
context: ./docker/
build:
docker:
options:
target: message-consumer
buildArgs:
SHOPWARE_VERSION: ${SHOPWARE_VERSION}
IMAGE_VERSION: ${IMAGE_VERSION}
PHP_VERSION: ${PHP_VERSION}
# recommended skipPush=true for a local cluster, but must be false for a remote one.
skipPush: true
preferMinikube: true
deployments:
- name: shopware6-dev
namespace: development
kubectl:
kustomize: true
manifests:
- kubernetes/
dev:
sync:
- labelSelector:
k8s-app: shopware
excludePaths:
- .gitignore
- .gitkeep
- .git
initialSync: preferLocal
localSubPath: ./docker/shopware/custom/plugins
containerPath: /app/custom/plugins
namespace: development
onUpload:
restartContainer: false
- labelSelector:
app: app-server
initialSync: mirrorRemote
disableUpload: true
localSubPath: ./docker/shopware/platform
containerPath: /app/
excludePaths:
- var/*
- install.lock
- Dockerfile
- .git*
- files/*
- public/media*
- public/thumbnail*
- public/recovery*
namespace: development
onUpload:
restartContainer: false
ports:
- labelSelector:
app: app-server
reverseForward:
- port: 9003
remotePort: 9003
forward:
- port: 8000
remotePort: 8000
- port: 8080
remotePort: 8080
- port: 9998
remotePort: 9998
- port: 9999
remotePort: 9999
- labelSelector:
app: adminer
forward:
- port: 8081
remotePort: 8080
- labelSelector:
app: mailhog
forward:
- port: 8025
remotePort: 8025
logs:
showLast: 100
sync: true
selectors:
- labelSelector:
k8s-app: shopware