{"id":15187422,"url":"https://github.com/borisgra/docker-yaml","last_synced_at":"2026-03-03T15:31:43.608Z","repository":{"id":94065184,"uuid":"605099085","full_name":"borisgra/docker-yaml","owner":"borisgra","description":"Install odoo(16,15,14,12 and others) versions on GCP VM by docker compose","archived":false,"fork":false,"pushed_at":"2026-01-02T14:56:23.000Z","size":181,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-08T21:46:16.517Z","etag":null,"topics":["docker","docker-compose","odoo","pgadmin4","pgsql"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/borisgra.png","metadata":{"files":{"readme":"README-win10 on GCP","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-22T12:51:02.000Z","updated_at":"2025-10-25T15:37:58.000Z","dependencies_parsed_at":"2024-11-11T05:00:37.162Z","dependency_job_id":"54a68042-d318-46fc-830c-3aa530271dc3","html_url":"https://github.com/borisgra/docker-yaml","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"e67d3d383e1f4dff354e482a117ad51e4232e7c8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/borisgra/docker-yaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisgra%2Fdocker-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisgra%2Fdocker-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisgra%2Fdocker-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisgra%2Fdocker-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borisgra","download_url":"https://codeload.github.com/borisgra/docker-yaml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisgra%2Fdocker-yaml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30050433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docker-compose","odoo","pgadmin4","pgsql"],"created_at":"2024-09-27T18:21:36.054Z","updated_at":"2026-03-03T15:31:43.570Z","avatar_url":"https://github.com/borisgra.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cH3\u003e Install docker with odoo 16,15,14 and other ver. , pgsql , pgadmin4\u003c/H3\u003e \n\u003cdiv style=\"color:Red;\"\u003e\u003cb\u003eAttention!!! When create odoo base - base name needed start with odooXX (XX - ODOO_VERSION)  or change dbfilter in odoo.conf   \u003c/b\u003e\u003c/div\u003e\n\u003cpre\u003e\nVM instances (min):\nsystem disk- 10G for 1 odoo, 20G for several one (Ubuntu min)\nprocesor 1\nmemory min 1.7G\nopen ports in firewall ( gcloud compute firewall-rules create my-odoo-rule --allow tcp:5010,tcp:10010-10020 --source-ranges=0.0.0.0/0  \n\u003c/pre\u003e\n\u003cpre\u003e\n# install docker and start  pgsql:version+pgAdmin4:version+odoo:version  (version in .env file)\nsudo bash -c \"$(curl -fsSL https://raw.githubusercontent.com/borisgra/docker-yaml/main/install_docker.sh)\"\n\nBy default ODOO_VERSION=16 (in .env),If needed, change ODOO_VERSION :\n1) sudo docker compose down\n2) sudo nano .env # change ODOO_VERSION  (for ODOO_VERSION\u003c10 - POSTGRES_VERSION \u003c 14)\n3) sudo docker compose up \n\nsudo docker compose stop\nsudo docker compose start \n\n\nsudo docker compose down \nsudo docker compose -f compose-hook.yaml # with webhook (before start: sh create_service.sh)\nsudo docker compose -f compose.yaml -f compose-odoo-14-15-16.yaml up # pgsql:13.10+pgAdmin4:last+odoo:16+15+14+11\nsudo docker compose -f compose-bd.yaml up # pgsql:version+pgAdmin4:last\nsudo docker compose -f compose-odoo-ver.yaml up # odoo:ver\nsudo docker compose -f compose-odoo-old.yaml up # ODOO_VERSION_OLD=\n\nsudo docker compose restart odoo # restart service\nsudo docker compose down  # delete all containers\nsudo docker compose down --remove-orphans # if error: while removing network: network yamls_default\nsudo docker container stop odoo\nsudo docker container rm odoo\nsudo docker images\nsudo docker rmi \u003cimages\u003e  # remove images (image1 image2 image3 ...)\nsudo service docker restart\nsudo systemctl stop docker.socket\n\nsudo git stash save # clear last modif in current git\n\nsudo git clone https://github.com/mmodrive/OdooX_Addons.git ~/docker-yaml/config_X/addons     # load addons\n\n# Dockerfile  (add needed package in image)\nsudo docker build -t odoo:9.0 . #   replase odoo:9.0 build new image (Dockerfile in current dir)\n\nhttps://www.baeldung.com/ops/root-user-password-docker-container\nsudo docker compose exec -it odoo bash  # NOT root acccess\nsudo docker compose exec -it -u root odoo bash  # root acccess\n\nsudo docker compose cp ~/daas_2023-01-23_17-51-22.dump pgadmin:/var/lib/pgadmin/storage/mail_gmail.com\n\nsudo service docker restart\nsudo systemctl stop docker.socket\nsudo systemctl status docker.service\n\nGCP:\nhttps://stackoverflow.com/questions/67265822/where-are-my-storage-pd-capacity-charges-coming-from \ngcloud compute instances list\ngcloud compute zones list\nexport from VM/Images (not MashinaImages)  !!\ngcloud compute images export --destination-uri gs://vpn-gra/images/image-vpn-pgsql-admin4.tar.gz --image image-vpn-pgsql-admin4\ngsutil mv -r gs://vpn-gra/images/*  gs://store-gra/images\ngsutil cp gs://public-gra/temp/daas_2023-01-23_17-51-22.dump ~\n\nhttps://rominirani.com/hands-on-guide-to-scheduling-vm-instances-to-start-and-stop-a079a50e16c6\n\nWSL (Windows Subsystem for Linux):  Unix on Windows\ninstall wsl in cmd: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart\nwsl --export --vhd Ubuntu-24.04 F:/temp/WpSystem-my/Ubuntu-24.04/ext4.vhdx\nwsl --import-in-place ubuntu_24.04docker F:\\temp\\WpSystem-my\\Ubuntu-24.04\\ext4.vhdx\nwsl --manage ubuntu_24.04docker --set-sparse true\n\nhttps://learn.microsoft.com/ru-ru/windows/wsl/basic-commands#import-a-distribution\nDELETE !!!\ngsutil -m retention event release gs://boris-gra/images/*.*\ngsutil retention temp release gs://boris-gra/images/*.*\n\u003c/pre\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisgra%2Fdocker-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborisgra%2Fdocker-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisgra%2Fdocker-yaml/lists"}