{"id":27287739,"url":"https://github.com/bbougon/ousontmesaffaires","last_synced_at":"2025-04-11T20:27:21.235Z","repository":{"id":31060861,"uuid":"34619657","full_name":"bbougon/ousontmesaffaires","owner":"bbougon","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-05T06:38:48.000Z","size":725,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-16T01:42:07.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbougon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-26T16:15:45.000Z","updated_at":"2024-04-16T01:42:07.037Z","dependencies_parsed_at":"2022-08-17T18:10:38.528Z","dependency_job_id":null,"html_url":"https://github.com/bbougon/ousontmesaffaires","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbougon%2Fousontmesaffaires","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbougon%2Fousontmesaffaires/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbougon%2Fousontmesaffaires/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbougon%2Fousontmesaffaires/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbougon","download_url":"https://codeload.github.com/bbougon/ousontmesaffaires/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248475131,"owners_count":21110026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-11T20:27:19.083Z","updated_at":"2025-04-11T20:27:21.223Z","avatar_url":"https://github.com/bbougon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Où sont mes affaires\n[![Build Status](https://travis-ci.org/bbougon/ousontmesaffaires.svg)](https://travis-ci.org/bbougon/ousontmesaffaires)\n[![codecov.io](https://codecov.io/gh/bbougon/ousontmesaffaires/coverage.svg?branch=master)](https://codecov.io/gh/bbougon/ousontmesaffaires/codecov.io?branch=master)\n\n## CI\nhttps://travis-ci.org/bbougon/ousontmesaffaires\n\n## Docker\n\n### Building container\n`docker build -t ou-sont-mes-affaires-api .`\n\n### Creating bridge network\n`docker network create --driver=bridge --subnet=192.168.100.0/24 bridge-ou-sont-mes-affaires`\n\n### Running mongo db container\n***Run mongo container***\n\n`docker run -d --ip 192.168.100.2 --network=bridge-ou-sont-mes-affaires --name ou-sont-mes-affaires-mongo mongo`\n\n### Running Ou Sont Mes Affaires container\n***Run container***\n```bash\ndocker run -d --rm --name ou-sont-mes-affaires-server --env-file ./.env.list --mount source=ou-sont-mes-affaires-image-storage,target=/image-storage --publish 8080:8182 -w /usr/src/ousontmesaffaires/ --ip 192.168.100.10 --network=bridge-ou-sont-mes-affaires ou-sont-mes-affaires-api java -jar ousontmesaffaires-docker-jar-with-dependencies.jar\n```\n\n***Run in debug mode***\n```bash\ndocker run -d --rm --name ou-sont-mes-affaires-server --env-file ./.env.list --mount source=ou-sont-mes-affaires-image-storage,target=/image-storage --publish 8080:8182 --publish 8787:8787 -w /usr/src/ousontmesaffaires/ --ip 192.168.100.10 --network=bridge-ou-sont-mes-affaires ou-sont-mes-affaires-api java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8787,suspend=n -jar ousontmesaffaires-docker-jar-with-dependencies.jar\n```\n\n### Running Ou Sont Mes Affaires angular container\n\n```\ndocker run -d --rm --name ou-sont-mes-affaires-angular --publish 4200:80 --ip 192.168.100.15 --network=bridge-ou-sont-mes-affaires ou-sont-mes-affaires-web\n```\n\n### Some docker command\n`docker container ls -a`\n\n`docker network ls`\n\n`docker ***COMMAND*** inspect`\n\n`docker exec -it ou-sont-mes-affaires-server /bin/bash`\n\n`docker logs ou-sont-mes-affaires-server`\n\n`docker container rm CONTAINER_NAME`\n\n`./runDocker.sh`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbougon%2Fousontmesaffaires","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbougon%2Fousontmesaffaires","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbougon%2Fousontmesaffaires/lists"}