-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
dockerfile + compose for ol-www0 web_nginx #4725
Conversation
602acf8
to
c3894df
Compare
b7be22c
to
f4981ef
Compare
f4981ef
to
e662109
Compare
2720164
to
ddd3509
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some cleaning up now that we're using the new nginx file.
@@ -25,7 +25,7 @@ http { | |||
server_names_hash_bucket_size 64; | |||
types_hash_bucket_size 64; | |||
|
|||
log_format iacombined '$seed$remote_addr $host $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $request_time'; | |||
log_format iacombined '$remote_addr_ipscrub $host $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $request_time'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is why we no longer need petabox_seed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Remove from olsystem; it's in docker-default.
docker-compose.production.yml
Outdated
# sitemap generation (we also need olsystem/etc/cron.d + openlibrary/scripts) | ||
- /1/var/lib/openlibrary/sitemaps/sitemaps:/sitemaps | ||
ports: | ||
- 8080:80 # XXX change to 80!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change this before merging? Doesn't really matter, I guess.
ed30ab4
to
b7d9e3d
Compare
Co-authored-by: Drini Cami <cdrini@gmail.com>
284dd06
to
43f8b2c
Compare
No longer needed with the new nginx binary
- Also use restart: unless-stopped for consistency
43f8b2c
to
91de4cf
Compare
This conflicted with out nginx config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We tested covers locally with the new nginx image, and it worked like a charm!
The only thing that's blocked us switching www0 is logs not being backed up to IA 👍
Closes #4252
Closes #4424
Closes #5418
Technical
Testing
Screenshot
Stakeholders