This repository was archived by the owner on Mar 15, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +17
-4
lines changed
Expand file tree Collapse file tree 5 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1010
1111ENV=local
1212
13+ # |--------------------------------------------------------------------------
14+ # | Application directory
15+ # |--------------------------------------------------------------------------
16+ # |
17+ # | Application directory
18+ # |
19+ # | If your PHP application source is in other directory than 'app'.
20+ # | Change the value below.
21+ # | No trailing slash, relative to kickoff-docker root.
22+ # |
23+
24+ DIR=app
25+
1326# |--------------------------------------------------------------------------
1427# | Docker Sync
1528# |--------------------------------------------------------------------------
Original file line number Diff line number Diff line change 55
66syncs :
77 {{ .EnvFiles.Config.ENV }}{{ .Values.Project.name }}_sync_app:
8- src : ' ./app /'
8+ src : ' ./{{ .EnvFiles.Config.DIR }} /'
99 sync_userid : ${UID}
1010 sync_strategy : {{ if eq "darwin" os }}'native_osx'{{ else }}'unison'{{ end }}
1111 sync_excludes : ['.idea']
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ services:
2727 {{- if eq "true" .EnvFiles.Config.ENABLE_DOCKER_SYNC }}
2828 - {{ .EnvFiles.Config.ENV }}{{ .Values.Project.name }}_sync_app:/var/www/html:nocopy
2929 {{- else }}
30- - ../../app :/var/www/html:{{ if eq "darwin" os }}cached{{ else }}ro{{ end }}
30+ - ../../{{ .EnvFiles.Config.DIR }} :/var/www/html:{{ if eq "darwin" os }}cached{{ else }}ro{{ end }}
3131 {{- end }}
3232 - ./conf.d/php-fpm.conf:/etc/nginx/conf.d/php-fpm.conf:ro
3333 {{- if eq true .Values.Modules.graylog.enable }}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ services:
2323 {{- if eq "true" .EnvFiles.Config.ENABLE_DOCKER_SYNC }}
2424 - {{ .EnvFiles.Config.ENV }}{{ .Values.Project.name }}_sync_app:/var/www/html:nocopy
2525 {{- else }}
26- - ../../app :/var/www/html:{{ if eq "darwin" os }}cached{{ else }}rw{{ end }}
26+ - ../../{{ .EnvFiles.Config.DIR }} :/var/www/html:{{ if eq "darwin" os }}cached{{ else }}rw{{ end }}
2727 {{- end }}
2828 - ./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh:ro
2929 - ./conf.d/memory-limit.ini:/usr/local/etc/php/conf.d/memory-limit.ini:ro
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
66
77
88 proxy :
9- image : traefik:1.4.0 -alpine
9+ image : traefik:1.4.3 -alpine
1010 container_name : kickoff-proxy
1111 restart : {{ if and (ne "local" .EnvFiles.Config.ENV) (eq false .Values.Modules.graylog.enable) }}unless-stopped{{ else }}"no"{{ end }}
1212 command : --docker --logLevel={{ .EnvFiles.Config.TRAEFIK_LOG_LEVEL }}
You can’t perform that action at this time.
0 commit comments