vovimayhem / docker-compose-rails-dev-example Goto Github PK
View Code? Open in Web Editor NEWA Docker compose project example I use to develop rails apps with Docker
License: MIT License
A Docker compose project example I use to develop rails apps with Docker
License: MIT License
Hi,
Thank you for your upload.
When I installing the docker (through the installation script you provided), it throws some warnings and errors:
Creating example_postgres_1
ERROR: Invalid volume spec "db/postgres-setup.sql/docker-entrypoint-initdb.d/setup.sql": volumeabs: Invalid volume destination path: 'db/postgres-setup.sql/docker-entrypoint-initdb.d/setup.sql' mount path must be absolute.
Waiting 20 seconds for the postgres container to finish initializing (Hit ENTER to continue right away) - Continuing with app database setup:
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
Creating example_postgres_1
ERROR: Invalid volume spec "db/postgres-setup.sql/docker-entrypoint-initdb.d/setup.sql": volumeabs: Invalid volume destination path: 'db/postgres-setup.sql/docker-entrypoint-initdb.d/setup.sql' mount path must be absolute.
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
Stopping example_redis_1 ... done
I tried to run it with sudo, it says:
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
WARNING: There is a boolean value in the 'environment', 'labels', or 'extra_hosts' field of a service.
These sections only support string values.
Please add quotes to any boolean values to make them strings (eg, 'True', 'false', 'yes', 'N', 'on', 'Off').
This warning will become an error in a future release.
ERROR: Couldn't connect to Docker daemon - you might need to run docker-machine start default
.
the docker machine is running. Similar warnings are rising when I try to run the compose
I did everything as described, and I saw that sidekiq
bundle was installed, unfortunately:
Cannot start container 1b3cc6c98867b301be1c1af54e9a8c7f780b8f86230913351a9b1b1a387dc19e: [8] System error: exec: "sidekiq": executable file not found in $PATH
On first clone and run according to the README:
milo:example josh$ ./setup-development-with-docker.sh
ERROR: The Compose file './docker-compose.yml' is invalid because:
web.environment.ENABLE_DEBUG_SERVER contains true, which is an invalid type, it should be a string, number, or a null
worker.environment.ENABLE_DEBUG_SERVER contains true, which is an invalid type, it should be a string, number, or a null
test.environment.ENABLE_DEBUG_SERVER contains true, which is an invalid type, it should be a string, number, or a null
Waiting 20 seconds for the postgres container to finish initializing (Hit ENTER to continue right away)^C
docker build -t my_app . gives off this error. any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.