version: '3.1' services: db: image: mariadb restart: always ports: - 3306:3306 environment: - MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD} command: --log-bin --binlog-format=MIXED --log-basename=1000 --server-id=1000 adminer: image: adminer restart: always ports: - 8080:8080