I am using the docker from
with docker-compose.yml (modified from the given configuration)
version: "3"
services:webserver:
image: nginx
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf
depends_on:
- backend
- frontend
ports:
- "80:80"frontend:
image: plone/plone-frontend:latest
environment:
RAZZLE_INTERNAL_API_PATH: http://backend:8080/Plone
ports:
- "3000:3000"
depends_on:
- backendbackend:
image: plone/plone-backend:6.0.0b1
environment:
SITE: Plone
DEVELOP: "/app/src/test_site.content"
PLONE_DEVELOP: "/app/src/test_site.content"
ADDONS: "test_site.content==1.0a1"
PLONE_ADDONS: "test_site.content==1.0a1"
APPLY_PROFILES: "test_site.content:default"
PROFILES: "test_site.content:default"
PIP_PARAMS: "install -e /app/src/test_site.content"volumes: - data:/data - ./src:/app/src - ./docker-shell:/docker-entrypoint.d/ ports: - "8080:8080"
volumes:
data: {}
dev@local:/home/dev/work/i-p6b-frontend-docker/plone-frontend/examples/webserver-volto-plone $ sudo docker-compose up
Recreating webserver-volto-plone_backend_1 ... done
webserver-volto-plone_frontend_1 is up-to-date
Recreating webserver-volto-plone_webserver_1 ... done
Attaching to webserver-volto-plone_backend_1, webserver-volto-plone_frontend_1, webserver-volto-plone_webserver_1
frontend_1 | yarn run v1.22.19
frontend_1 | $ NODE_ENV=production node build/server.js
frontend_1 | Volto is running in SEAMLESS mode
frontend_1 | š Volto started at 0.0.0.0:3000 š
frontend_1 | yarn run v1.22.19
frontend_1 | $ NODE_ENV=production node build/server.js
frontend_1 | Volto is running in SEAMLESS mode
frontend_1 | š Volto started at 0.0.0.0:3000 š
webserver_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
webserver_1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
webserver_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
webserver_1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
webserver_1 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
webserver_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
webserver_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
webserver_1 | /docker-entrypoint.sh: Configuration complete; ready for start up
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: using the "epoll" event method
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: nginx/1.23.1
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: OS: Linux 5.15.0-46-generic
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker processes
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 30
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 31
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 32
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 33
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 34
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 35
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 36
webserver_1 | 2022/08/25 05:11:18 [notice] 1#1: start worker process 37
backend_1 | =======================================================================================
backend_1 | Installing ADDONS test_site.content==1.0a1
backend_1 | THIS IS NOT MEANT TO BE USED IN PRODUCTION
backend_1 | Read about it: https://github.com/plone/plone-backend/#extending-from-this-image
backend_1 | =======================================================================================
backend_1 | Obtaining file:///app/src/test_site.content
backend_1 | Preparing metadata (setup.py): started
backend_1 | Preparing metadata (setup.py): finished with status 'done'
backend_1 | ERROR: Could not find a version that satisfies the requirement test_site.content==1.0a1 (from versions: none)
backend_1 | ERROR: No matching distribution found for test_site.content==1.0a1
backend_1 |
backend_1 | [notice] A new release of pip available: 22.1.2 -> 22.2.2
backend_1 | [notice] To update, run: python -m pip install --upgrade pip
webserver-volto-plone_backend_1 exited with code 1
^CGracefully stopping... (press Ctrl+C again to force)
Stopping webserver-volto-plone_webserver_1 ... done
Stopping webserver-volto-plone_frontend_1 ... done
dev@local:/home/dev/work/i-p6b-frontend-docker/plone-frontend/examples/webserver-volto-plone $
The addon test_site.content does not get installed no matter. docker-compose finds the addon and builds but does not install as reported
- ERROR: Could not find a version that satisfies the requirement test_site.content==1.0a1 (from versions: none)
- ERROR: No matching distribution found for test_site.content==1.0a1
(after providing PIP_PARAMS: "install -e /app/src/test_site.content" in the configuration)
Which other setting need to be supplied to make it work?
I have tried the hinds from the following links
Usage of PLONE_DEVELOP + DEVELOP along with APPLY_PROFILES + PROFILES and PLONE_ADDONS + ADDONS together just a reflection of the present frustration level
Admittedly, I have not tried VCS options git+http etc as that will not be used in the project.
Skipping the version in addons hasn't helped either.