Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Photoview and db merged into main compose (doesn't work):
- $>docker logs -f photoview
- 2020/11/13 09:28:04 Connecting to database: photoview:password@tcp(photoviewdb)/photoview?multiStatements=true&parseTime=true
- 2020/11/13 09:28:04 WARN: Could not ping database: dial tcp 172.22.0.2:3306: connect: connection refused, Will retry after 1 second
- 2020/11/13 09:28:10 WARN: Could not ping database: context deadline exceeded, Will retry after 1 second
- 2020/11/13 09:28:16 WARN: Could not ping database: context deadline exceeded, Will retry after 1 second
- 2020/11/13 09:28:22 WARN: Could not ping database: context deadline exceeded, Will retry after 1 second
- 2020/11/13 09:28:28 Could not connect to database: Could not ping database, exiting: context deadline exceeded
- panic: Could not connect to database: Could not ping database, exiting: context deadline exceeded
- goroutine 1 [running]:
- log.Panicf(0xa6e593, 0x22, 0xc00023f778, 0x1, 0x1)
- /usr/local/go/src/log/log.go:358 +0xc0
- main.main()
- /app/server.go:35 +0x110
- -----------------------------------
- separate compose (works fine)
- $>docker logs -f photoview
- 2020/11/13 09:33:31 No .env file found
- 2020/11/13 09:33:31 Connecting to database: photoview:password@tcp(photoviewdb)/photoview?multiStatements=true&parseTime=true
- 2020/11/13 09:33:31 WARN: Could not ping database: dial tcp 172.23.0.2:3306: connect: connection refused, Will retry after 1 second
- 2020/11/13 09:33:32 Database is up to date
- 2020/11/13 09:33:32 Initializing scanner queue with 3 workers
- 2020/11/13 09:33:32 Queue waiting
- 2020/11/13 09:33:32 Periodic scan interval changed: disabled
- 2020/11/13 09:33:32 Scan interval runner: Waiting for signal
- 2020/11/13 09:33:32 Scan interval runner: New ticker detected
- 2020/11/13 09:33:32 Scan interval runner: Waiting for signal
- 2020/11/13 09:33:32 Found executable worker: darktable
- 2020/11/13 09:33:32 Found executable worker: ffmpeg
- 2020/11/13 09:33:32 Photoview API endpoint listening at http://photoview:80/api
- 2020/11/13 09:33:32 Photoview API public endpoint ready at https://photoview.<domain>/api
- 2020/11/13 09:33:32 Photoview UI public endpoint ready at https://photoview.<domain>/
Advertisement
Add Comment
Please, Sign In to add comment