docker-compose.yml 602 Bytes
Newer Older
Arnaud de Mouhy's avatar
Arnaud de Mouhy committed
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
version: '3.3'

services:
    app:
        build: .
        ports:
            - 8080:8080
        volumes:
            - ./lstu.conf:/home/lstu/lstu.conf:ro
    db:
        image: mariadb:10.2
        environment:
            MYSQL_ROOT_PASSWORD: password
            MYSQL_DATABASE: lstu
    cache:
        image: memcached:1.5-alpine
    minion:
        build: .
        command: minion
        volumes:
            - ./lstu.conf:/home/lstu/lstu.conf:ro
    minion_db:
        image: mariadb:10.2
        environment:
            MYSQL_ROOT_PASSWORD: password
            MYSQL_DATABASE: lstu_minion