photoprism/docker-compose.yml

25 lines
591 B
YAML
Raw Normal View History

2018-02-04 17:34:07 +01:00
version: '3.3'
services:
tensorflowapi:
build: './cmd/tensorflowapi'
ports:
- 8080:8080
volumes:
- './cmd/tensorflowapi:/go/src/tensorflowapi'
database:
image: mysql:latest
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=1024
ports:
- 3306:3306
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