Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Add Docker Compose production environment #10

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

almereyda
Copy link

@almereyda almereyda commented Mar 30, 2020

This Pull Request brings changes that update the Docker environment to reflect and close #9.

It extends the repository with

  • a docker-compose.yaml for service orchestration, including PostgreSQL
  • a configuration.py example that retrieves configuration from the environment
  • fiduswriter.env and postgres.env examples that show which settings are available

and brings changes to the

  • Dockerfile updated to Fidus Writer's latest version and a UID:GID mapping that helps to access the /data volume from the host system, if mounted there, and the
  • start-fiduswriter.sh script, in so configuration.py is put into place before it is being used for setup, plus the
  • README.md explaining how this is to be used.

yala added 3 commits March 31, 2020 01:13
- Fidus Writer with Postgres 12
- Configuration examples
- Dockerfile
  - increase version to latest
  - introduce convention to consider UID:GID 1000:1000
  - add dependencies for PostgreSQL and 12 factor deployment
  - install Fidus Writer with plugins

- start-fiduswriter.sh
  - enforce UID:GID on mounted volumes
  - reorder configuration and media actions before setup takes place,
    in so the correct configuration is applied
@almereyda almereyda changed the title Add Feature Docker Compose production environment Add Docker Compose production environment Mar 30, 2020
ecobytes collective added 4 commits March 31, 2020 03:28
- docker-compose.yaml integrates with a reverse proxy
- the environment now knows how to close its Emaul with STARTTLS
- the startup script avoids a race condition with trying to move media before its collected
- deprecate github-export (to prepare for gitrepo-export)
- serve static assets through Caddy
- switch from Traefik v1.7 to Traefik 2.x label notation
- add GitLab authentication
- reassure example configuration
- refine README
@almereyda
Copy link
Author

The last commit brings updates to actually producing and serving transpiled production assets for the application, and updates to the latest available release.

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

Successfully merging this pull request may close these issues.

Progress over testing environment
1 participant