API server listens with the address of PHOTOVIEW_LISTEN_IP, #1010. (#1014)

Fix the listened host reference in the `main()` function
This commit is contained in:
Googol Lee
2024-08-09 16:32:07 +02:00
committed by GitHub
parent ebcbe6c057
commit cf1a66975d
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ services:
env_file: api/example.env
environment:
PHOTOVIEW_DATABASE_DRIVER: sqlite # Change to the right database driver
PHOTOVIEW_SQLITE_PATH: api/photoview.db
PHOTOVIEW_SQLITE_PATH: photoview.db
PHOTOVIEW_MYSQL_URL: photoview:photosecret@tcp(mysql)/photoview_test
PHOTOVIEW_POSTGRES_URL: postgres://photoview:photosecret@postgres:5432/photoview_test
volumes: