Commit Graph

6 Commits

Author SHA1 Message Date
Roldel
e9d0a55d28 ADD env variables to db container
FIX Error: Database is uninitialized and superuser password is not specified.
Env vars needs to be defined in both the "db" and "web" containers 
In "db", so it can create the default user from it
In "web", so it can be used in settings.py to connect django to the postgres container
2022-01-03 06:06:02 +00:00
Jérémie Marais
c331fa9929 [FIX] update documentation (#13701)
* [FIX] update documentation

- add `PYTHONDONTWRITEBYTECODE` environment variable
- rename pip package `psycopg2-binary` to `psycopg2`
- add db environment variables in docker-compose for a better usage
- use `os.environment` in `setting.py` to get environment variables

* [fix] update documentation
2021-11-26 10:41:49 +00:00
Sebastiaan van Stijn
e22984f7d4 use Dockerfile "syntax" directive in examples
BuildKit allows using alternative Dockerfile syntaxes to introduce new features
without having to update Docker itself. The general recommendation is to always
specify a "syntax" directive in a Dockerfile, so that (if needed) older versions
of Docker can download the correct syntax to build the Dockerfile.

This updates our examples to include a syntax directive, to make users more familiar
with these directives, and to illustrate best-pracitces in our documentation.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-20 10:19:12 +02:00
Sebastiaan van Stijn
f4ed09424b move compose examples to the samples directory
Unifying all "examples" in this directory; some of these should still be
reviewed and/or removed in favor of examples from "awesome compose"

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-19 10:38:56 +02:00
John Mulhausen
1c5153b965 Convert Library references from submodule to upstream (#4102)
* Step 1 of getting to upstream-based model

* Upstream part 2

* Working front-matter generation

* Pages generating

* TOC fixes, autogen fixes, test>prod script

* Boilerplate fix

* Switch to cat, redundancy removals
2017-08-08 16:04:00 -07:00
John Mulhausen
102c00e071 Docker Library import (#3063)
* Docker Library import

* Auto-gen Samples TOC

* Modular hovers on Glossary page

* TOC sync fix
2017-05-17 12:33:09 -07:00