-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from RedTurtle/docker_compose_dev
Docker compose + buildout dev + plone upgrade
- Loading branch information
Showing
11 changed files
with
121 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.installed.cfg | ||
.mr.developer.cfg | ||
pyvenv.cfg | ||
/bin | ||
/develop-eggs | ||
/lib | ||
/lib64 | ||
/parts | ||
/var | ||
/src/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM plone/plone-backend:5.2.10 | ||
COPY docker/create-constraints.py docker/constraints.cfg docker/requirements.txt /app/ | ||
COPY versions.cfg / | ||
RUN pip install -r https://dist.plone.org/release/5.2.10/requirements.txt ${PIP_PARAMS} && \ | ||
python create-constraints.py constraints.cfg constraints.txt && \ | ||
./bin/pip install --ignore-requires-python -r requirements.txt -c constraints.txt ${PIP_PARAMS} && \ | ||
find /app/lib -name LC_MESSAGES -exec chown -R plone:plone {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
# | ||
# THIS IS FOR DEVELOPMENT, DO NOT USE AS IS IN PRODUCTION | ||
# | ||
|
||
[buildout] | ||
# https://raw.github.com/collective/buildout.plonetest/master/test-5.2.x.cfg | ||
# https://raw.githubusercontent.com/collective/buildout.plonetest/master/qa.cfg | ||
extends = | ||
https://raw.githubusercontent.com/plone/buildout.coredev/5.2.10/buildout.cfg | ||
versions.cfg | ||
parts += | ||
site | ||
omelette | ||
|
||
[instance] | ||
eggs += | ||
design.plone.policy | ||
collective.upgrade | ||
|
||
[site] | ||
recipe = collective.recipe.plonesite | ||
site-id = Plone | ||
default-language = it | ||
profiles-initial = | ||
plone.app.caching:default | ||
design.plone.policy:default | ||
upgrade-portal = true | ||
upgrade-all-profiles = true | ||
|
||
[omelette] | ||
recipe = collective.recipe.omelette | ||
eggs = ${instance:eggs} | ||
|
||
[sources] | ||
redturtle.volto = git https://github.com/redturtle/redturtle.volto pushurl[email protected]:redturtle/redturtle.volto | ||
|
||
[versions] | ||
collective.recipe.plonesite = 1.12.0 | ||
collective.upgrade = 1.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: '3' | ||
|
||
services: | ||
backend: | ||
build: . | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
- SITE=Plone | ||
- PROFILES=design.plone.policy:default | ||
# TODO: improve this part | ||
# i.e. develop redturtle.volto withd docker | ||
# 1. run something like "cd src && git clone [email protected]:redturtle/redturtle.volto" | ||
# 2. uncomment the line beloow | ||
# - DEVELOP=/app/src/redturtle.volto | ||
volumes: | ||
- ./src:/app/src | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# https://github.com/plone/buildout.coredev/blob/6.0/release/create-constraints.py | ||
[buildout] | ||
extends = | ||
https://dist.plone.org/release/5.2.9/versions.cfg | ||
../versions.cfg | ||
|
||
[versions] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-r https://dist.plone.org/release/5.2.10/requirements.txt |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters