Fix for .travis.yml and docker-compose.travis.yml
This commit is contained in:
parent
bc4417b6b0
commit
5ba5addc51
2 changed files with 3 additions and 11 deletions
|
@ -14,6 +14,7 @@ after_script:
|
|||
|
||||
deploy:
|
||||
provider: script
|
||||
script: scripts/docker_push.sh
|
||||
script: make docker-push
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
|
@ -5,21 +5,12 @@ services:
|
|||
build: .
|
||||
image: photoprism/photoprism
|
||||
command: tail -f /dev/null
|
||||
volumes:
|
||||
- .:/go/src/github.com/photoprism/photoprism
|
||||
- ./configs/photoprism.dev.yml:/etc/photoprism/photoprism.yml
|
||||
|
||||
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
|
Loading…
Reference in a new issue