This is a simple sandbox to play around with the MySQL spider engine.
docker-compose.yaml
Docker sandbox for experimenting with the Spider engine for MySQL
Dockerfile resources https://github.com/mikesss/mysql-spider-sandbox.git
|  1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 | version: '3'
services:
  mysql_spider:
    build: ./docker
    ports:
      - "3307:3306"
    environment:
      MYSQL_DATABASE: spider
      MYSQL_USER: spider
      MYSQL_PASSWORD: spider
    volumes:
      - ./scripts/spider:/docker-entrypoint-initdb.d
  mysql_backend1:
    image: mysql:5.5
    ports:
      - "3308:3306"
    environment:
      MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
      MYSQL_DATABASE: spider
      MYSQL_USER: spider
      MYSQL_PASSWORD: spider
    volumes:
      - ./scripts/mysql:/docker-entrypoint-initdb.d
  mysql_backend2:
    image: mysql:5.5
    ports:
      - "3309:3306"
    environment:
        MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
        MYSQL_DATABASE: spider
        MYSQL_USER: spider
        MYSQL_PASSWORD: spider
    volumes:
      - ./scripts/mysql:/docker-entrypoint-initdb.d
 | 
 
resources