Closed bobef closed 6 years ago
Forgot to put the yml:
namespace: {{.project}}.{{.branch_flat}}
containers:
app:
image: {{.custom_registry}}/{{.project}}:{{.branch}}
volumes:
- {{.project_volume}}/log:/app/store/log
- {{.project_volume}}/tasks:/app/store/taskscheduler
- {{.project_volume}}/staticdata:/app/store/staticdata
- {{.project_volume}}/session:/app/store/session
- {{.project_config}}:/app/config
# env={{.env}}
{{if eq .env "dev"}}
- {{.project_local}}:/app
- {{.project_providerkit}}:/app/lib/providerkit
- {{.project_providerkit}}/docker/remote.php:/app/remote.php
- {{.project_providerkit}}/docker/maintenance.php:/app/maintenance.php
- {{.project_providerkit}}/docker/polltasks.php:/app/polltasks.php
{{end}}
php:
image: {{.custom_registry}}/php:5.5
volumes_from:
- app
volumes:
- {{.project_volume}}/php:/volume/php/log
- {{.project_config_common}}/config.common.php:/app/config.common.php
env:
cfg__app__name: {{.project}}
cfg__app__name__flat: {{.project_flat}}
cfg__app__version: {{.branch}}
cfg__app__version__flat: {{.branch_flat}}
cfg__app__instance: ''
INIT_PROVIDERKIT_ROOT: /app/lib/providerkit
{{if ne .env "dev"}}
# INIT_RELEASE: 'true'
{{end}}
nginx:
image: {{.custom_registry}}/nginx:v2
volumes_from:
- app
- php
volumes:
- {{.project_volume}}/nginx:/volume/nginx/log
ports:
- {{.port}}:80
- {{.port_hack}}:80
Hey @bobef, try with rocker-compose v0.1.2 which is the latest version (available in brew and the releases section)
Unfortunately, we are discontinuing this project. See the notice here: https://github.com/grammarly/rocker-compose/blob/master/README.md
Closing this issue as we are not able to address it. Sorry.
Looks like it affects both rocker-compose and rocker https://github.com/grammarly/rocker/issues/49.
When I use custom registry like customregistry.com:5000.