diff --git a/Makefile b/Makefile index 647550307..a84090df3 100644 --- a/Makefile +++ b/Makefile @@ -24,14 +24,14 @@ upgrade: dep-upgrade-js dep-upgrade clean-local: clean-local-config clean-local-share clean-local-cache clean-install: clean-local dep build-js install-bin install-assets acceptance-start: - go run cmd/photoprism/photoprism.go --public --database-driver sqlite --database-dsn ./storage/acceptance/index.db --import-path ./storage/acceptance/import --http-port=80 --settings-path ./storage/acceptance/settings --originals-path ./storage/acceptance/originals --sidecar-hidden=false --sidecar-json=false --sidecar-yaml=false start -d + go run cmd/photoprism/photoprism.go --public --database-driver sqlite --database-dsn ./storage/acceptance/index.db --import-path ./storage/acceptance/import --http-port=2343 --settings-path ./storage/acceptance/settings --originals-path ./storage/acceptance/originals --sidecar-hidden=false --sidecar-json=false --sidecar-yaml=false start -d acceptance-restart: go run cmd/photoprism/photoprism.go stop cp -f storage/acceptance/backup.db storage/acceptance/index.db cp -f storage/acceptance/settings/settingsBackup.yml storage/acceptance/settings/settings.yml rm -rf storage/acceptance/originals/2010 rm -rf storage/acceptance/originals/2013 - go run cmd/photoprism/photoprism.go --public --database-driver sqlite --database-dsn ./storage/acceptance/index.db --import-path ./storage/acceptance/import --http-port=80 --settings-path ./storage/acceptance/settings --originals-path ./storage/acceptance/originals --sidecar-hidden=false --sidecar-json=false --sidecar-yaml=false start -d + go run cmd/photoprism/photoprism.go --public --database-driver sqlite --database-dsn ./storage/acceptance/index.db --import-path ./storage/acceptance/import --http-port=2343 --settings-path ./storage/acceptance/settings --originals-path ./storage/acceptance/originals --sidecar-hidden=false --sidecar-json=false --sidecar-yaml=false start -d acceptance-restore-db: cp -f storage/acceptance/settings/settingsBackup.yml storage/acceptance/settings/settings.yml cp -f storage/acceptance/backup.db storage/acceptance/index.db diff --git a/docker-compose.yml b/docker-compose.yml index 2e0a5b66b..67146e848 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,9 +8,9 @@ services: - photoprism-db ports: - "2342:2342" # Web Server (PhotoPrism) - - "80:80" + - "2343:2343" expose: - - "80" # Acceptance Tests + - "2343" # Acceptance Tests volumes: - ".:/go/src/github.com/photoprism/photoprism" - "go-mod:/go/pkg/mod"