Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docker compose environment for testing #1

Open
githagman opened this issue Jan 27, 2019 · 6 comments
Open

Create docker compose environment for testing #1

githagman opened this issue Jan 27, 2019 · 6 comments

Comments

@githagman
Copy link
Member

No description provided.

@githagman
Copy link
Member Author

githagman commented Jan 27, 2019

@estenrye
Copy link

estenrye commented Feb 19, 2019

  • Update Rest-Api Dockerfile to use a Multi-stage Dockerfile.
    Rather than copy build artifacts from local development environment, use Docker to build those artifacts and copy them into a smaller runtime container.

@estenrye
Copy link

  • Use environment variables or docker secrets to inject connection strings.
    Docker environment variables are visible in plain text to anyone with access to the docker socket. This could expose your database password. Swarm mode provides a feature called Docker Secrets. Secrets are encrypted and present themselves as files to the running container.

estenrye added a commit to estenrye/volunteer-db-rest-api that referenced this issue Feb 19, 2019
This change updates the rest-api dockerfile
to use the Dockerfile [multistage build](https://docs.docker.com/develop/develop-images/multistage-build/) process.

Using a multistage build allows us to ensure all developers have a
consistent build environment with minimal effort on their part to
configure it.  Encapsulating our build steps in the Dockerfile also
simplifies the work required to create a continuous integration pipeline.

FreeGeekTwinCities#1
@estenrye
Copy link

estenrye commented Feb 19, 2019

Do we have any plan to upgrade openerp 7.0 to a newer version? Current version is 11.0.

  • Eliminate openerp.

@githagman
Copy link
Member Author

Openerp is getting fully deprecated and removed. In this revamp the vision is to migrate a few tables that we actually use into a quick JVM rest-api and throw away the giant Openerp app that doesn't really do anything for us.

@estenrye
Copy link

estenrye commented Mar 18, 2019

@githagman any plans to merge this? #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants