Guest User

Untitled

a guest
Jun 17th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. wonko@deepthought:~/Documents/projects/Chremoas/data$ docker-compose up -d --scale=consul=3 --scale=mysql=3
  2. data_consul_1 is up-to-date
  3. Recreating data_minio_1 ...
  4. data_consul_2 is up-to-date
  5. data_consul_3 is up-to-date
  6. Recreating data_minio_1 ... done
  7. Creating data_mysql_1 ...
  8. Creating data_mysql_1 ... error
  9. Creating data_mysql_3 ...
  10. Creating data_mysql_2 ... error
  11. Creating data_mysql_2
  12. Creating data_mysql_3 ... error
  13.  
  14. ERROR: for data_mysql_2 Cannot create container for service mysql: (NotImplemented) user-defined networking links is not implemented (8305a335-c092-40f6-a5cd-999f05dbf6a0)
  15.  
  16. ERROR: for data_mysql_3 Cannot create container for service mysql: (NotImplemented) user-defined networking links is not implemented (2735d682-ea74-4c44-9e7f-aadc7dcd70f7)
  17.  
  18. ERROR: for data_mysql_1 Cannot create container for service mysql: (NotImplemented) user-defined networking links is not implemented (7dc6345a-1450-43d8-940a-e7d4f48e4032)
  19.  
  20. ERROR: for mysql Cannot create container for service mysql: (NotImplemented) user-defined networking links is not implemented (8305a335-c092-40f6-a5cd-999f05dbf6a0)
  21. ERROR: Encountered errors while bringing up the project.
  22.  
  23. version: '2.1'
  24.  
  25. services:
  26. mysql:
  27. image: autopilotpattern/mysql:${TAG:-latest}
  28. labels:
  29. - triton.cns.services=consul
  30. - com.docker.swarm.affinities=["container!=~*mysql*"]
  31. mem_limit: 128m
  32. restart: always
  33. expose:
  34. - 3306
  35. network_mode: chremoas_dev
  36. environment:
  37. - MYSQL_USER=dbuser
  38. - MYSQL_PASSWORD=seekretPassword
  39. - MYSQL_REPL_USER=repluser
  40. - MYSQL_REPL_PASSWORD=seekretReplPassword
  41. - MYSQL_DATABASE=demodb
  42. - BACKUP_TTL=120
  43. - LOG_LEVEL=DEBUG
  44. - CONSUL=consul
  45. - SNAPSHOT_BACKEND=minio
  46. - MINIO_ACCESS_KEY=supersecretaccesskey
  47. - MINIO_SECRET_KEY=supersecretsecretkey
  48. volumes:
  49. # shared storage location for snapshots
  50. - ${WORK_DIR:-../..}/tmp:/tmp/snapshots
  51. links:
  52. - consul:consul
  53. - minio:minio
  54.  
  55. consul:
  56. image: autopilotpattern/consul:${TAG:-latest}
  57. labels:
  58. - triton.cns.services=consul
  59. - com.docker.swarm.affinities=["container!=~*consul*"]
  60. restart: always
  61. mem_limit: 128m
  62. ports:
  63. - 8500
  64. env_file:
  65. - _env
  66. network_mode: chremoas_dev
  67. command: >
  68. /usr/local/bin/containerpilot
  69.  
  70. minio:
  71. image: minio/minio
  72. command: server /export
  73. restart: always
  74. mem_limit: 128m
  75. expose:
  76. - 9000
  77. network_mode: chremoas_dev
  78. environment:
  79. - MINIO_ACCESS_KEY=supersecretaccesskey
  80. - MINIO_SECRET_KEY=supersecretsecretkey
Add Comment
Please, Sign In to add comment