Anna Sirota
6a04549b95
Add rustc to all base images
2021-03-16 18:00:34 +01:00
Anna Sirota
2806244dd3
Use CRYPTOGRAPHY_DONT_BUILD_RUST=1
2021-03-12 11:27:58 +01:00
Anna Sirota
539b2932ea
or just give and install rustc already
2021-03-12 11:04:03 +01:00
Anna Sirota
0f5b2a4af2
Another pip install
2021-03-12 10:34:32 +01:00
Anna Sirota
ff654dcc4b
Another try
2021-03-12 09:57:59 +01:00
Anna Sirota
7143b46891
Try to work around Rust cryptography issue
2021-03-09 11:16:30 +01:00
81c5687f02
Deploy: Pin poetry version to 1.0
...
It looks like more recent versions of poetry do not handle well nested
local package deps.
https://github.com/python-poetry/poetry/issues/3098
2021-01-20 11:08:23 +01:00
cbdcd04423
Fixed copy-paste bug in remoteip.conf
2020-04-17 15:15:16 +02:00
c618e6cf17
Fixed typo in Dockerfile
2020-04-17 14:09:43 +02:00
b8defe329e
Apache: enabled & configured mod_remoteip
...
This module makes it possible to do access control & logging based on
client's real IP address, rather than the internal IP address of HaProxy.
2020-04-17 11:38:53 +02:00
941ed4a0e0
Deploy: Add redirect for coffee-run and settlers
2020-04-09 16:28:19 +02:00
5f497fc645
Docker-compose: Upgraded Mongo 3.4.2 → 3.4 (so latest micro in 3.4.x)
...
This currently upgrades to 3.4.20
2019-05-28 16:18:27 +02:00
a321d3501a
Docker-compose: upgraded Redis 3.2.8 → 5.0
2019-05-28 16:18:27 +02:00
3d567ff6f8
Docker: use variables instead of hard-coded stuff
...
WHEELHOUSE: since we're defining the variable we might as well use it.
DOCKER_IMAGE_NAME: introduced to prevent duplications of the name, and to
add a little confirmation message when the script is done.
2019-05-14 10:36:15 +02:00
cfbb3d7e5a
Poetry'ising the docker stuff
2019-05-14 10:36:15 +02:00
35675866ee
Build our own HAproxy docker image
...
The HAproxy docker image we were using is no longer maintained (hasn't been
for years), but is built upon Alpine Linux which has a big security leak:
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0782
The security leak is fixed in this build of the docker image, but we should
move to something else (lke Træfik).
2019-05-09 14:12:02 +02:00
fb016c3e3b
build wheels using the correct Docker image
2019-03-29 15:18:10 +01:00
c5f8add5f5
Made it easier to rebuild the Docker image after someone else built it
...
Because we only pushed the final image to Docker Hub, it was impossible to
pull the base image someone else created and "quickly" build a new deploy
image.
Now the deploy scripts push (some) of the intermediate images as well,
making it possible to pull them later. I've added `build-pull.sh` and
`full-pull.sh` to perform this pull and built up from the pulled images.
2019-03-13 15:47:12 +01:00
fc986b0ab6
Renamed docker/4_run/deploy
to docker/4_run/staging
...
"Staging" covers the meaning of what is actually happening better than
"deploy". I want to keep "deploy" for actually deploying onto a production
server.
2019-02-13 10:39:18 +01:00
5bf1693d5b
Removed RabbitMQ docker container from docker-compose.yml
...
Now that Celery switched to using Redis as broker, we no longer need
RabbitMQ. Celery has been running on Redis for a while now and it all seems
fine, so it's time to wave the Rabbit goodbye.
2018-12-04 17:57:49 +01:00
27caff7e6e
Docker: added little list of Redis database numbers we're using
2018-12-04 11:30:48 +01:00
a674de4db5
Remove CELERY_BEAT_SCHEDULE from config_local
...
CELERY_BEAT_SCHEDULE shouldn't need any changes in config_local for
production; the default should be production-ready.
2018-10-10 14:58:52 +02:00
7f58be4568
Updated Blender Cloud add-on to 1.9.0
...
Also change the config_local.py so that we only have to change one variable
for a new version.
2018-09-05 13:40:24 +02:00
099984f97c
Added #!/bin/sh at top of shell script
2018-08-30 12:53:34 +02:00
8bfb40ce54
Various Docker image upgrades, read the entire commit message!
...
- Ubuntu 17.10 → 18.04.
- Python 3.6.3 → 3.6.6.
- Use `DEBIAN_FRONTEND=noninteractive` to prevent prompts during
installation.
- Install `tzdata` in the base image as it's required by subimages.
- Correctly set maintainer in Dockerfile.
2018-08-30 12:53:34 +02:00
d60a65c9f0
End BLENDER_ID_ENDPOINT with a slash
2018-08-30 12:46:58 +02:00
9cd2853e49
Upgrade pip after building Python
2018-08-30 12:31:31 +02:00
4696d09fed
Corrected rewrite rule for Caminandes
2018-07-06 14:56:40 +02:00
4e8530478a
Remove trailing slash from BLENDER_ID_ENDPOINT
2018-06-22 19:40:44 +02:00
b66b6cf445
Reduced verbosity of mongo-backup.sh
2018-06-14 11:57:36 +02:00
b153cae70e
Increased WSGI thread count 32 → 64
2018-06-13 10:47:28 +02:00
6a698daaa0
Remove time from logs; timestamp is added by Apache anyway.
2018-03-27 16:42:43 +02:00
5f07c7ce17
Use new hashing of static file names.
...
Every time the docker image is rebuilt a random hash is chosen.
Requires Pillar d560f89704e3a6f4490df57712525048c469bed2 or newer.
2018-03-23 17:39:04 +01:00
5a42e2dcb8
Flip condition to unindent pretty much all the code
...
No semantic changes.
2018-03-23 17:24:36 +01:00
d5a54b7cf1
Formatting
2018-03-23 16:37:58 +01:00
7cb4b37ae2
Renamed some docker files to Dockerfile
...
This makes it simpler to manage by using the default name. It also helps
my editor to recognise the file and highlight it properly.
2018-03-23 12:42:56 +01:00
1fca473257
Moved Apache files into separate subdir
2018-03-23 12:12:39 +01:00
5a6035a494
Change hostname from blender-cloud → cloud.local in docker-compose.yml
2018-03-23 12:11:59 +01:00
98698be7eb
Add redirect for waking-the-forest project
...
Waking the Forest was originally part of the Art Gallery, but was
moved to its own dedicated workshop to increase visibility.
2018-03-19 11:17:45 +01:00
d4f072480c
Add convenience redirect from /hero to /p/hero
2018-03-14 14:35:27 +01:00
2d036ee657
Fix rsync of MongoDB backup to Swami
...
- Forcing IPv4 no longer necessary
- Directory on Swami is determined by rrsync parameters on Swami side
.ssh/authorized_keys file.
2018-03-09 14:02:39 +01:00
29d1d02bfd
Prevent error when there are no Mongo backups to remove yet.
2018-02-22 10:01:59 +01:00
2141aed06c
Added script to run on server for nightly MongoDB backups
...
Forced to use IPv4 due to IPv6 connectivity issues with Swami.
2018-02-21 11:30:48 +01:00
c3ddc831aa
Stricter XSendFilePath in Apache config
2018-02-14 11:07:47 +01:00
484ac34c50
T53983: Explicitly version the picohttp docker image
2018-02-13 12:32:19 +01:00
87cf5a9844
Revert "Add https://cloud*/ * as virtual host to haproxy config"
...
This reverts commit 3be926b9b3
.
2018-02-02 13:00:57 +01:00
5a3a7a3883
LetsEncrypt fixes
...
- Changed virtual host weight for the letsencrypt docker so that it is
higher than any other weight
- Copy the renewal script to the server (previously it was available
to the host at /data/git/blender-cloud/…, but no longer.
2018-02-02 12:39:07 +01:00
3be926b9b3
Add https://cloud*/ * as virtual host to haproxy config
...
This allows testing on https://cloud3/ for example, without having to
edit the docker-compose.yml file on the cloud3 server.
2018-02-02 12:20:39 +01:00
6f73222dcd
Add the most-changing files as last step for faster Docker rebuilds.
2018-02-02 12:09:16 +01:00
bef402a6b0
Updated documentation for the new way to deploy Blender Cloud
2018-02-02 12:01:47 +01:00