Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 #9

Closed
czingenberg opened this issue Jul 9, 2024 · 17 comments · Fixed by #10
Closed

404 #9

czingenberg opened this issue Jul 9, 2024 · 17 comments · Fixed by #10

Comments

@czingenberg
Copy link

czingenberg commented Jul 9, 2024

Trying to start the Scraperr but just getting a 404 when trying to access localhots

junk@junkbox scraperr]# make up
docker compose -f docker-compose.yml --env-file .env up -d --force-recreate
[+] Running 4/4
✔ Network scraperr_web Created 0.1s
✔ Container scraperr Started 0.8s
✔ Container traefik Started 0.7s
✔ Container webscrape-mongo Started 0.7s
[junk@junkbox scraperr]# curl -IL http://localhost
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Tue, 09 Jul 2024 15:21:19 GMT
Content-Length: 19

Tried setting a domain as hostname in the .env aswell. No luck either, still getting a 404

@dunderrrrrr
Copy link

I'm facing the exakt same issue.

@dunderrrrrr
Copy link

Hmm thats weird. I just got it working with this .env.

MONGODB_URI=mongodb://root:example@webscrape-mongo:27017
SECRET_KEY=your_secret_key
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=600
HOSTNAME="localhost"
HOSTNAME_DEV="localhost"

@czingenberg
Copy link
Author

@dunderrrrrr Really?

Same I tried. Still getting 404 not found :|

@dunderrrrrr
Copy link

Yes. Are you giving it a minute to fire up? It takes a moment for all containers to start.

Any logs in docker compose logs -f?

@czingenberg
Copy link
Author

No errors or anything in the logs no

@jaypyles
Copy link
Owner

No errors or anything in the logs no

If you are receiving a 404 response, it is likely due to traefik not binding the domain name to your container. I would only be able to recommend what @dunderrrrrr said to do without any further information/context. Make sure your .env is in the root directory of the project and is correctly filled out to spec.

@czingenberg
Copy link
Author

[junk@junkbox scraperr]# cat .env
MONGODB_URI=mongodb://root:example@webscrape-mongo:27017
SECRET_KEY=your_secret_key
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=600
HOSTNAME="localhost"
HOSTNAME_DEV="localhost"
[junk@junkbox scraperr]# make up
docker compose -f docker-compose.yml --env-file .env up -d --force-recreate
[+] Running 3/3
 ✔ Container scraperr         Started                                                                                                                                                 1.1s
 ✔ Container traefik          Started                                                                                                                                                 1.1s
 ✔ Container webscrape-mongo  Started                                                                                                                                                 1.2s
[junk@junkbox scraperr]# curl -IL localhost
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Thu, 11 Jul 2024 20:17:53 GMT
Content-Length: 19

No luck

@jaypyles
Copy link
Owner

jaypyles commented Jul 11, 2024

[junk@junkbox scraperr]# cat .env
MONGODB_URI=mongodb://root:example@webscrape-mongo:27017
SECRET_KEY=your_secret_key
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=600
HOSTNAME="localhost"
HOSTNAME_DEV="localhost"
[junk@junkbox scraperr]# make up
docker compose -f docker-compose.yml --env-file .env up -d --force-recreate
[+] Running 3/3
 ✔ Container scraperr         Started                                                                                                                                                 1.1s
 ✔ Container traefik          Started                                                                                                                                                 1.1s
 ✔ Container webscrape-mongo  Started                                                                                                                                                 1.2s
[junk@junkbox scraperr]# curl -IL localhost
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Thu, 11 Jul 2024 20:17:53 GMT
Content-Length: 19

No luck

Can you try doing make logs or just checking the logs of the scraperr container itself (docker logs scraperr)?

@czingenberg
Copy link
Author

webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.086+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.087+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.089+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"62b3738b64f9"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.12","gitVersion":"b6513ce0781db6818e24619e8a461eae90bc94fc","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"x86_64","target_arch":"x86_64"}}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"enabled"}}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.092+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=5330M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.583+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":583041,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 2 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.648+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":648577,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 3 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.738+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":738307,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Main recovery loop: starting at 2/109696 to 3/256"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.840+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":840310,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 2 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.898+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":898942,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 3 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951489,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery log replay has successfully finished and ran for 369 milliseconds"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951614,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global recovery timestamp: (0, 0)"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951633,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global oldest timestamp: (0, 0)"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951942,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery rollback to stable has successfully finished and ran for 0 milliseconds"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.952+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":952503,"thread":"1:0x7fd82b1fbc80","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.954+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":954096,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery checkpoint has successfully finished and ran for 1 milliseconds"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.954+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":954157,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery was completed successfully and took 371ms, including 369ms for the log replay, 0ms for the rollback to stable, and 1ms for the checkpoint."}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.955+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":863}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.955+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.959+00:00"},"s":"W",  "c":"CONTROL",  "id":22178,   "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never' in this binary version","tags":["startupWarnings"]}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.959+00:00"},"s":"W",  "c":"CONTROL",  "id":5123300, "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":65530,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.961+00:00"},"s":"I",  "c":"NETWORK",  "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true}}}
scraperr         | INFO:     Will watch for changes in these directories: ['/project']
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.961+00:00"},"s":"I",  "c":"REPL",     "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"7.0","context":"startup"}}
scraperr         | INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
scraperr         | INFO:     Started reloader process [10] using WatchFiles
scraperr         | INFO:     Started server process [12]
scraperr         | INFO:     Waiting for application startup.
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.961+00:00"},"s":"I",  "c":"STORAGE",  "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.962+00:00"},"s":"I",  "c":"CONTROL",  "id":6608200, "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.963+00:00"},"s":"I",  "c":"CONTROL",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.963+00:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.966+00:00"},"s":"I",  "c":"REPL",     "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.966+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"CONTROL",  "id":8423403, "ctx":"initandlisten","msg":"mongod startup complete","attr":{"Summary of time elapsed":{"Startup from clean shutdown?":true,"Statistics":{"Transport layer setup":"0 ms","Run initial syncer crash recovery":"0 ms","Create storage engine lock file in the data directory":"0 ms","Get metadata describing storage engine":"0 ms","Validate options in metadata against current startup options":"0 ms","Create storage engine":"863 ms","Write current PID to file":"0 ms","Initialize FCV before rebuilding indexes":"2 ms","Drop abandoned idents and get back indexes that need to be rebuilt or builds that need to be restarted":"0 ms","Rebuild indexes for collections":"0 ms","Load cluster parameters from disk for a standalone":"0 ms","Build user and roles graph":"0 ms","Verify indexes for admin.system.users collection":"0 ms","Set up the background thread pool responsible for waiting for opTimes to be majority committed":"0 ms","Initialize information needed to make a mongod instance shard aware":"0 ms","Start up the replication coordinator":"1 ms","Start transport layer":"0 ms","_initAndListen total elapsed time":"876 ms"}}}}
scraperr         | INFO:     Application startup complete.
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:18:45.960+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729125,"ts_usec":960534,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 3, snapshot max: 3 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:19:45.963+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729185,"ts_usec":963867,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 5, snapshot max: 5 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:20:45.967+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729245,"ts_usec":967700,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 6, snapshot max: 6 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:21:45.970+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729305,"ts_usec":969943,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 7, snapshot max: 7 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:22:45.973+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729365,"ts_usec":973107,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 8, snapshot max: 8 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}

@jaypyles
Copy link
Owner

webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.086+00:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.087+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.089+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"main","msg":"Multi threading initialized"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.090+00:00"},"s":"I",  "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"62b3738b64f9"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.12","gitVersion":"b6513ce0781db6818e24619e8a461eae90bc94fc","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"x86_64","target_arch":"x86_64"}}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"security":{"authorization":"enabled"}}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.091+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.092+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=5330M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.583+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":583041,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 2 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.648+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":648577,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 3 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.738+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":738307,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Main recovery loop: starting at 2/109696 to 3/256"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.840+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":840310,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 2 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.898+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":898942,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 3 through 3"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951489,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery log replay has successfully finished and ran for 369 milliseconds"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951614,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global recovery timestamp: (0, 0)"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951633,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global oldest timestamp: (0, 0)"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.951+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":951942,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery rollback to stable has successfully finished and ran for 0 milliseconds"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.952+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":952503,"thread":"1:0x7fd82b1fbc80","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.954+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":954096,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery checkpoint has successfully finished and ran for 1 milliseconds"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.954+00:00"},"s":"I",  "c":"WTRECOV",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729065,"ts_usec":954157,"thread":"1:0x7fd82b1fbc80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery was completed successfully and took 371ms, including 369ms for the log replay, 0ms for the rollback to stable, and 1ms for the checkpoint."}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.955+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":863}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.955+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.959+00:00"},"s":"W",  "c":"CONTROL",  "id":22178,   "ctx":"initandlisten","msg":"/sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never' in this binary version","tags":["startupWarnings"]}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.959+00:00"},"s":"W",  "c":"CONTROL",  "id":5123300, "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":65530,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.961+00:00"},"s":"I",  "c":"NETWORK",  "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true}}}
scraperr         | INFO:     Will watch for changes in these directories: ['/project']
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.961+00:00"},"s":"I",  "c":"REPL",     "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"7.0","context":"startup"}}
scraperr         | INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
scraperr         | INFO:     Started reloader process [10] using WatchFiles
scraperr         | INFO:     Started server process [12]
scraperr         | INFO:     Waiting for application startup.
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.961+00:00"},"s":"I",  "c":"STORAGE",  "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.962+00:00"},"s":"I",  "c":"CONTROL",  "id":6608200, "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.963+00:00"},"s":"I",  "c":"CONTROL",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.963+00:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.966+00:00"},"s":"I",  "c":"REPL",     "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.966+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:17:45.967+00:00"},"s":"I",  "c":"CONTROL",  "id":8423403, "ctx":"initandlisten","msg":"mongod startup complete","attr":{"Summary of time elapsed":{"Startup from clean shutdown?":true,"Statistics":{"Transport layer setup":"0 ms","Run initial syncer crash recovery":"0 ms","Create storage engine lock file in the data directory":"0 ms","Get metadata describing storage engine":"0 ms","Validate options in metadata against current startup options":"0 ms","Create storage engine":"863 ms","Write current PID to file":"0 ms","Initialize FCV before rebuilding indexes":"2 ms","Drop abandoned idents and get back indexes that need to be rebuilt or builds that need to be restarted":"0 ms","Rebuild indexes for collections":"0 ms","Load cluster parameters from disk for a standalone":"0 ms","Build user and roles graph":"0 ms","Verify indexes for admin.system.users collection":"0 ms","Set up the background thread pool responsible for waiting for opTimes to be majority committed":"0 ms","Initialize information needed to make a mongod instance shard aware":"0 ms","Start up the replication coordinator":"1 ms","Start transport layer":"0 ms","_initAndListen total elapsed time":"876 ms"}}}}
scraperr         | INFO:     Application startup complete.
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:18:45.960+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729125,"ts_usec":960534,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 3, snapshot max: 3 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:19:45.963+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729185,"ts_usec":963867,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 5, snapshot max: 5 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:20:45.967+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729245,"ts_usec":967700,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 6, snapshot max: 6 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:21:45.970+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729305,"ts_usec":969943,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 7, snapshot max: 7 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}
webscrape-mongo  | {"t":{"$date":"2024-07-11T20:22:45.973+00:00"},"s":"I",  "c":"WTCHKPT",  "id":22430,   "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1720729365,"ts_usec":973107,"thread":"1:0x7fd8221e8640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 8, snapshot max: 8 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 423"}}}

Yeah it looks like traefik isn't binding to your container for some reason. Can you try just doing make down then make up again?
Also send your docker-compose.yml if it isn't the one provided,

@czingenberg
Copy link
Author

Tried make down and up multiple times. No change.

I use the provided compose file

@jaypyles
Copy link
Owner

Tried make down and up multiple times. No change.

I use the provided compose file

Hm, not sure right now then. I just cloned the repo and filled out the .env on a new machine, went up without a problem. Can you provide your system information?

@czingenberg
Copy link
Author

Almalinux 8 VPS
docker-compose version 1.29.2
Docker version 26.1.3

@jaypyles
Copy link
Owner

jaypyles commented Jul 11, 2024

Almalinux 8 VPS docker-compose version 1.29.2 Docker version 26.1.3

Okay I was able to reproduce this on a VM. Check your traefik logs, should have "unable to find ip-address for webscrape-mongo"

Edit: my mongo container is not starting due to a CPU incompatibility on an Almalinux 8 VM

@dunderrrrrr
Copy link

dunderrrrrr commented Jul 12, 2024

I ran into that problem too using a VM in proxmox.

WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!

So I set CPU type to host and it works fine, see this thread.

@gboxxx
Copy link

gboxxx commented Jul 12, 2024

Was receiving 404 not using a VM, but on a linux machine. Couldn't figure it out so just got rid of Traefik altogether.

Here's my docker-compose.yml for anyone else that needs a quick workaround.

services:
  scraperr:
    image: jpyles0524/scraperr:latest
    build:
      context: ./
    container_name: scraperr
    env_file:
      - ./.env
    # Remove all Traefik labels
    ports:
      - "8000:8000"  # Expose the port directly
    networks:
      - web

  mongo:
    container_name: webscrape-mongo
    image: mongo
    restart: always
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example
    networks:
      - web

networks:
  web:

@sgtwtf
Copy link

sgtwtf commented Nov 15, 2024

i just used "image: mongo:4.4.18" - will that be a known issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants