mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 19:29:15 +00:00
Fix ESLint step in CI - part 2 (#1086)
* Run ESLint inside the testing container * Switch to `docker exec` as the container is still alive after the testing * Get back to `docker run`, as `exec` doesn't work for stopped containers * Add missing ESLint plugin for React * And 1 more missing plugin * Add missing command to copy the report * Set `$PHOTOVIEW_LISTEN_IP` to "0.0.0.0" as it has to accept connections from outside and from the healthcheck in localhost --------- Co-authored-by: Konstantin Koval <kkb@ukr.net>
This commit is contained in:
@@ -28,7 +28,7 @@ services:
|
||||
# PHOTOVIEW_SQLITE_PATH: ${PHOTOVIEW_SQLITE_PATH}
|
||||
## Uncomment the next line if PHOTOVIEW_DATABASE_DRIVER is set to `postgres` in the .env
|
||||
# PHOTOVIEW_POSTGRES_URL: postgres://${PGSQL_USER}:${PGSQL_PASSWORD}@photoview-pgsql:5432/${PGSQL_DATABASE}?sslmode=${PGSQL_SSL_MODE}
|
||||
PHOTOVIEW_LISTEN_IP: "photoview"
|
||||
PHOTOVIEW_LISTEN_IP: "0.0.0.0"
|
||||
## Uncomment the next variable and set a different value to change the port photoview uses inside the container.
|
||||
## If you change this, remember to update the port mapping (under the `ports:`) above!
|
||||
# PHOTOVIEW_LISTEN_PORT: 80
|
||||
|
||||
@@ -22,7 +22,7 @@ services:
|
||||
PHOTOVIEW_MYSQL_URL: "${MARIADB_USER}:${MARIADB_PASSWORD}@tcp(photoview-mariadb)/${MARIADB_DATABASE}"
|
||||
## Uncomment the next line if PHOTOVIEW_DATABASE_DRIVER is set to `sqlite` in the .env
|
||||
# PHOTOVIEW_SQLITE_PATH: ${PHOTOVIEW_SQLITE_PATH}
|
||||
PHOTOVIEW_LISTEN_IP: "photoview"
|
||||
PHOTOVIEW_LISTEN_IP: "0.0.0.0"
|
||||
## Optional: If you are using Samba/CIFS-Share and experience problems with "directory not found"
|
||||
## Enable the following Godebug
|
||||
# - GODEBUG=asyncpreemptoff=1
|
||||
|
||||
Reference in New Issue
Block a user