-
-
Save dura0ok/8e913bc418553875b0727dc032f4ab58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP_NAME=Laravel | |
APP_ENV=local | |
APP_KEY= | |
APP_DEBUG=true | |
APP_URL=http://localhost | |
LOG_CHANNEL=stack | |
DB_CONNECTION=mysql | |
DB_HOST=127.0.0.1 | |
DB_PORT=3306 | |
DB_DATABASE=core_production | |
DB_USERNAME=root | |
DB_PASSWORD=123 | |
BROADCAST_DRIVER=log | |
CACHE_DRIVER=file | |
SESSION_DRIVER=file | |
SESSION_LIFETIME=120 | |
QUEUE_DRIVER=sync | |
REDIS_HOST=127.0.0.1 | |
REDIS_PASSWORD=null | |
REDIS_PORT=6379 | |
MAIL_DRIVER=smtp | |
MAIL_HOST=smtp.mail.ru | |
MAIL_PORT=465 | |
[email protected] | |
MAIL_PASSWORD=X]Q4oE6aeolK | |
MAIL_ENCRYPTION=ssl | |
PUSHER_APP_ID= | |
PUSHER_APP_KEY= | |
PUSHER_APP_SECRET= | |
PUSHER_APP_CLUSTER=mt1 | |
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" | |
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recreating d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_discounts-db ... | |
Recreating d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_discouRecreating d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_discounts-db ... error | |
ERROR: for d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_discounts-db Cannot create container for service mysql: invalid volume specification: 'ab69d61305e7892ba147783e2240e6158ba18dc93871c52ced2f9f89e85c0673:dbdata:rw': invalid mount config for type "volume": invalid mount path: 'dbdata' mount path must be absolute | |
ERROR: for mysql Cannot create container for service mysql: invalid volume specification: 'ab69d61305e7892ba147783e2240e6158ba18dc93871c52ced2f9f89e85c0673:dbdata:rw': invalid mount config for type "volume": invalid mount path: 'dbdata' mount path must be absolute | |
ERROR: Encountered errors while bringing up the project. | |
stepan7@deb:~/work/discounts$ clear | |
stepan7@deb:~/work/discounts$ docker-compose up | |
Recreating d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_discounts-db ... | |
Recreating d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d69758Recreating d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_discounts-db ... error | |
ERROR: for d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_d697584f0244_discounts-db Cannot create container for service mysql: invalid volume specification: 'ab69d61305e7892ba147783e2240e6158ba18dc93871c52ced2f9f89e85c0673:dbdata:rw': invalid mount config for type "volume": invalid mount path: 'dbdata' mount path must be absolute | |
ERROR: for mysql Cannot create container for service mysql: invalid volume specification: 'ab69d61305e7892ba147783e2240e6158ba18dc93871c52ced2f9f89e85c0673:dbdata:rw': invalid mount config for type "volume": invalid mount path: 'dbdata' mount path must be absolute | |
ERROR: Encountered errors while bringing up the project. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
app: | |
container_name: "discounts-app" | |
build: | |
context: ./ | |
volumes: | |
- ./:/var/www | |
- ./000-default.conf:/etc/apache2/sites-available/000-default.conf | |
- ./logs:/var/log/apache2 | |
ports: | |
- 8080:80 | |
working_dir: /var/www | |
depends_on: | |
- mysql | |
mysql: | |
container_name: "discounts-db" | |
image: mysql:5.7 | |
volumes: | |
- dbdata | |
environment: | |
MYSQL_ROOT_PASSWORD: 123 | |
MYSQL_DATABASE: core_production | |
MYSQL_USER: root | |
MYSQL_PASSWORD: 123 | |
ports: | |
- 33306:3306 | |
volumes: | |
dbdata: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment