![]() ![]() Help, if anyone has encountered this problem and has experience docker on windows 10 pro. # Clone a repository (my website in this case) git clone postgres: FROM postgres:10.1-alpine #COPY docker-entrypoint.sh /bin/docker-entrypoint.sh My dockerfile php: FROM php:7.2-fpm-alpine It is necessary that the database is stored on my container and at startup. I registered in the Dockerfile itself, but it did not lead to success. Postgres: db no default is created, although environment is spelled correctly. The project does not clone, ssh matches host (win10) / docker (alpine) ![]() ![]() Then you would replay the pre-data to create the table structure and the check constraints, then load the data from whereever you get it from, then replay the post-data to add the indexes and FK constraints. You could use pgdump with -t and -section to dump the pre-data and post-data for the table. Git: He set permissions in different ways - chmod, created docker-entrypoint.sh, volume on. PostgreSQL doesnt provide a very elegant way of doing this. To be precise with the rights for git and the test base is not connected. Similarly, when prompted for a password, enter the password you saved in the step 1.24. Each time you read endpoint in a command, you must enter the endpoint hostname you saved in step 1.24. There is a problem with docker - git clone (.ssh-key), postgres (db: postgres) os alpine. 2.1 - Connect to your primary database: mysql -h endpoint -P 3306 -u admin -p. Nginx + php + composer + nodejs is already working, the rest is not. I downloaded the necessary software, cloned the project, recorded the database, created commands for composer (composer install, update) and node (npm install, update).Īll this on windows10pro-> alpine. Need an image for web: -Php 7.2-fpm-alpine My client docker: Windows Desktop last, download off site. Spent many hours disassembling docker, specifically for Windows 10 (this is hell, but windows are needed). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |