Closed Benjen closed 4 years ago
Hi Ben! Hope you're doing well :)
Can you confirm your Docker and Docker Compose versions? The 'priority' keyword should be valid
If these are up to date, could you send me your docker-compose.tok.yml file?
Thanks!
Hi Mike,
Docker: Docker version 19.03.5, build 633a0ea838 Docker-compose: docker-compose version 1.17.1, build unknown docker-compose.tok.yml:
# WARNING: THIS FILE IS MANAGED DIRECTLY BY TOKAIDO.
# DO NOT MAKE MODIFICATIONS HERE, THEY WILL BE OVERWRITTEN
version: "2"
services:
unison:
image: tokaido/unison:2.48.4
ports:
- "5000"
environment:
- UNISON_DIR=/tokaido/site
- UNISON_UID=1001
- UNISON_GID=1001
volumes:
- /tokaido/site
syslog:
image: tokaido/syslog:1.12.0
volumes:
- /tokaido/logs
labels:
io.tokaido.managed: local
io.tokaido.project: ""
haproxy:
image: tokaido/haproxy:1.12.0
ports:
- "8080"
- "8443"
user: "1005"
depends_on:
- varnish
- nginx
labels:
io.tokaido.managed: local
io.tokaido.project: ""
networks:
default:
aliases:
- haproxy
- haproxy-test
priority: 100
tokaido_proxy:
priority: 1
varnish:
image: tokaido/varnish:1.12.0
ports:
- "8081"
user: "1004"
volumes_from:
- syslog
depends_on:
- nginx
labels:
io.tokaido.managed: local
io.tokaido.project: ""
nginx:
image: tokaido/nginx:1.12.0
ports:
- "8082"
user: "1002"
volumes_from:
- syslog
- unison
depends_on:
- fpm
environment:
DRUPAL_ROOT: web
labels:
io.tokaido.managed: local
io.tokaido.project: ""
testcafe:
image: testcafe/testcafe
ports:
- "1337"
entrypoint:
- tail
- -f
- /dev/null
command: tail -f /dev/null
volumes_from:
- unison
working_dir: /testcafe
depends_on:
- nginx
fpm:
image: tokaido/php72-fpm:1.12.0
ports:
- "9000"
user: "1001"
volumes_from:
- syslog
- unison
working_dir: /tokaido/site/
depends_on:
- syslog
environment:
DRUPAL_ROOT: web
PHP_DISPLAY_ERRORS: "yes"
labels:
io.tokaido.managed: local
io.tokaido.project: ""
mysql:
image: mysql:5.7
ports:
- "3306"
command: --max_allowed_packet=1073741824 --ignore-db-dir=lost+found
environment:
MYSQL_DATABASE: tokaido
MYSQL_PASSWORD: tokaido
MYSQL_ROOT_PASSWORD: tokaido
MYSQL_USER: tokaido
volumes_from:
- syslog
volumes:
- tok_begun_mysql_database:/var/lib/mysql
labels:
io.tokaido.managed: local
io.tokaido.project: ""
drush:
image: tokaido/admin72-heavy:1.12.0
hostname: tokaido
ports:
- "22"
working_dir: /tokaido/site
volumes_from:
- syslog
- unison
environment:
APP_ENV: local
DRUPAL_ROOT: web
PROJECT_NAME: begun
SSH_AUTH_SOCK: /ssh/auth/sock
volumes:
- tok_composer_cache:/home/tok/.composer/cache
labels:
io.tokaido.managed: local
io.tokaido.project: ""
mailhog:
image: mailhog/mailhog:v1.0.0
ports:
- "1025"
- "8025"
labels:
io.tokaido.managed: local
io.tokaido.project: begun
volumes:
tok_begun_tokaido_site:
external: true
tok_begun_mysql_database:
external: true
tok_composer_cache:
external: true
networks:
tokaido_proxy:
external: true
Hi Mike,
I took another look at those version numbers and realized that the version of Docker Compose on my system was out of date. Installed latest version (v1.25.0). Now it is working. Yay!
Glad to hear it's solved. Thanks for reporting Ben!
What happened:
When I run
tok new
I get the following error:What you expected to happen: Should have created new project without errors.
How to reproduce it (as minimally and precisely as possible): run
tok new
to create a new Tokaido project.Anything else we need to know?:
Environment:
tok version
): v1.12.1Additional context N/A