photoprism/docker-compose.travis.yml
2018-02-28 10:31:10 +01:00

19 lines
No EOL
445 B
YAML

version: '3.3'
services:
photoprism:
build: .
database:
image: mysql:latest
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024
volumes:
- database-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: photoprism
MYSQL_USER: photoprism
MYSQL_PASSWORD: photoprism
MYSQL_DATABASE: photoprism
volumes:
database-data:
driver: local