Closed mbland closed 8 years ago
Yeah, so I cracked the nut of how to get the pages
image to do a s3 sync
on startup. It's pretty sweeet. Now I just need to implement 18F/pages-server#41, which shouldn't be terribly difficult.
OK, rebased this onto master
after #4, so this is ready for review.
@jcscottiii OK, I beefed up the ./go
script to avoid errors. PTAL?
Depends on #4. Adds
pages-sites/Dockerfile
to produce a data container for 18F Pages sites.This enables the
pages
container to write to/usr/local/18f/pages/sites
, and thenginx-18f
container to only read from it.You can try this locally via:
In the Pages shell, you can freely write to files in
/usr/local/18f/pages/sites
, and you can read them in the Nginx shell, but not modify anything.cc: @jcscottiii @ccostino @afeld