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

Dockerify #157

Merged
merged 15 commits into from
Oct 15, 2018
Merged

Dockerify #157

merged 15 commits into from
Oct 15, 2018

Conversation

revolunet
Copy link
Member

No description provided.

README.md Outdated

L'intégration HTML/CSS est réalisée et documentée dans un autre dépôt de code : [code-du-travail-css](https://github.com/SocialGouv/code-du-travail-css).
Editer `.env` et `docker-compose.override.yml` puis lancer `docker-compose up`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

normalement ca sera yarn dev

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

normalement ca sera yarn dev
c'est pas si pratique d'avoir les 3serveur qui tourne dans le meme term en fait :)

Copy link
Contributor

@douglasduteil douglasduteil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐳

.yarnrc Outdated
@@ -0,0 +1 @@
workspaces-experimental true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really required ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was to avoid warning message.

environment:
- PYTHONPATH=.
- ES_HOST=elasticsearch
- PORT=9200
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ES_PORT ?


COPY package.json /app/package.json
COPY package-lock.json /app/package-lock.json
#COPY yarn.lock /app/yarn.lock
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to remove ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be back when yarn.lock will be versionned

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should do it now then...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\ping @revolunet
Same goes for /packages/code-du-travail-api/Dockerfile ?


COPY package.json /app/package.json
COPY package-lock.json /app/package-lock.json
#COPY yarn.lock /app/yarn.lock
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\ping @revolunet
Same goes for /packages/code-du-travail-api/Dockerfile ?

douglasduteil and others added 2 commits October 12, 2018 15:47
remove code-du-travail-data/.env file since its no more used
add code-du-travail-api/.env file with default value for dev env
@revolunet
Copy link
Member Author

je propose qu'on merge et on améliore ensuite

@@ -63,8 +63,5 @@ typings/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same should be done in /packages/code-du-travail-css/.gitignore ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree, since code-du-travail-css was not using a env file, I forget to update it :)

@@ -0,0 +1,3 @@
PYTHONPATH=.
ES_HOST=elasticsearch
ES_PORT=9200
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry, I thought these files was unused anymore since we handle the env globally in docker-compose.yml

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In which case we need it ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, they are overriden by the root docker-compose.yml, we shouldnt need this except for explicitness maybe. will remove that!

@revolunet revolunet merged commit 1d36003 into master Oct 15, 2018
@revolunet revolunet deleted the dockerify branch October 16, 2018 09:12
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

Successfully merging this pull request may close these issues.

3 participants