2021-09-23 23:46:17 +02:00
|
|
|
version: '3.5'
|
|
|
|
|
|
|
|
# Legacy databases servers for testing.
|
|
|
|
services:
|
|
|
|
mariadb-10-3:
|
|
|
|
image: mariadb:10.3
|
2021-09-24 09:26:48 +02:00
|
|
|
command: mysqld --port=4001 --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
|
2021-09-23 23:46:17 +02:00
|
|
|
expose:
|
|
|
|
- "4001"
|
|
|
|
volumes:
|
|
|
|
- "./scripts/sql/init-test-databases.sql:/docker-entrypoint-initdb.d/init-test-databases.sql"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: photoprism
|
|
|
|
MYSQL_USER: photoprism
|
|
|
|
MYSQL_PASSWORD: photoprism
|
|
|
|
MYSQL_DATABASE: photoprism
|
|
|
|
|
|
|
|
mariadb-10-2:
|
|
|
|
image: mariadb:10.2
|
2021-09-24 09:26:48 +02:00
|
|
|
command: mysqld --port=4001 --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
|
2021-09-23 23:46:17 +02:00
|
|
|
expose:
|
|
|
|
- "4001"
|
|
|
|
volumes:
|
|
|
|
- "./scripts/sql/init-test-databases.sql:/docker-entrypoint-initdb.d/init-test-databases.sql"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: photoprism
|
|
|
|
MYSQL_USER: photoprism
|
|
|
|
MYSQL_PASSWORD: photoprism
|
|
|
|
MYSQL_DATABASE: photoprism
|
|
|
|
|
|
|
|
mariadb-10-1:
|
|
|
|
image: mariadb:10.1
|
2021-09-24 09:26:48 +02:00
|
|
|
command: mysqld --port=4001 --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
|
2021-09-23 23:46:17 +02:00
|
|
|
expose:
|
|
|
|
- "4001"
|
|
|
|
volumes:
|
|
|
|
- "./scripts/sql/init-test-databases.sql:/docker-entrypoint-initdb.d/init-test-databases.sql"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: photoprism
|
|
|
|
MYSQL_USER: photoprism
|
|
|
|
MYSQL_PASSWORD: photoprism
|
|
|
|
MYSQL_DATABASE: photoprism
|
|
|
|
|
|
|
|
mysql-8:
|
|
|
|
image: mysql:8
|
2021-09-24 09:26:48 +02:00
|
|
|
command: mysqld --port=4001 --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=120
|
2021-09-23 23:46:17 +02:00
|
|
|
expose:
|
|
|
|
- "4001"
|
|
|
|
volumes:
|
|
|
|
- "./scripts/sql/init-test-databases.sql:/docker-entrypoint-initdb.d/init-test-databases.sql"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: photoprism
|
|
|
|
MYSQL_USER: photoprism
|
|
|
|
MYSQL_PASSWORD: photoprism
|
|
|
|
MYSQL_DATABASE: photoprism
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
external:
|
|
|
|
name: shared
|