diff options
author | kaiyou <pierre@jaury.eu> | 2018-01-29 08:52:20 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-29 08:52:20 +0100 |
commit | e8395f027b6c3e3f757c740e35b20e76c51b03bd (patch) | |
tree | ee0e761357b7407b6992600342306669de880689 /support/docker/production/config/custom-environment-variables.yaml | |
parent | 8dfd8fd7ca376e7898c912bb985a7a4a997cd966 (diff) | |
download | PeerTube-e8395f027b6c3e3f757c740e35b20e76c51b03bd.tar.gz PeerTube-e8395f027b6c3e3f757c740e35b20e76c51b03bd.tar.zst PeerTube-e8395f027b6c3e3f757c740e35b20e76c51b03bd.zip |
Add production Alpine and Debian Stretch Docker images (#225)
* First pass at a (swarm-compatible) docker image
Uses an existing traefik server as a https reverse proxy.
* Add example config for a Docker swarm deployment
* Point to traefik config for docker compose setup
* Clarify that traefik is needed for the example config
* Use node:8-stretch base image and don't install yarn
(The base image already contains yarn.)
* Initial commit for an Alpine Docker image
* Fix docker volume path
* Merge #213 and #225 and move files around
* Remove unnecessary dependencies from the alpine build
* Update Dockerfiles to match install path, config path, etc.
* Update the configuration in the example compose file
* Update the configuration in the example swarm file
* Remove the declared networks and volumes from the compose example, which are not strictly required
* Update attachment path in the documentation
* Display traefik as a suggestion and not a required dependency
* Update the Docker ignored files
* Fix typos reported in #225
* Move production Dockerfiles to a production directory
* Add the redis configuration settings
* Add Docker files to the dockerignore
* Make the signup limit configurable
Diffstat (limited to 'support/docker/production/config/custom-environment-variables.yaml')
-rw-r--r-- | support/docker/production/config/custom-environment-variables.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml new file mode 100644 index 000000000..5226e1742 --- /dev/null +++ b/support/docker/production/config/custom-environment-variables.yaml | |||
@@ -0,0 +1,40 @@ | |||
1 | webserver: | ||
2 | hostname: "PEERTUBE_HOSTNAME" | ||
3 | port: | ||
4 | __name: "PEERTUBE_PORT" | ||
5 | __format: "json" | ||
6 | https: | ||
7 | __name: "PEERTUBE_HTTPS" | ||
8 | __format: "json" | ||
9 | |||
10 | database: | ||
11 | hostname: "PEERTUBE_DB_HOSTNAME" | ||
12 | port: | ||
13 | __name: "PEERTUBE_DB_PORT" | ||
14 | __format: "json" | ||
15 | suffix: "PEERTUBE_DB_SUFFIX" | ||
16 | username: "PEERTUBE_DB_USERNAME" | ||
17 | password: "PEERTUBE_DB_PASSWORD" | ||
18 | |||
19 | redis: | ||
20 | hostname: "PEERTUBE_REDIS_HOSTNAME" | ||
21 | port: | ||
22 | __name: "PEERTUBE_REDIS_PORT" | ||
23 | __format: "json" | ||
24 | auth: "PEERTUBE_REDIS_AUTH" | ||
25 | |||
26 | admin: | ||
27 | email: "PEERTUBE_ADMIN_EMAIL" | ||
28 | |||
29 | signup: | ||
30 | enabled: | ||
31 | __name: "PEERTUBE_SIGNUP_ENABLED" | ||
32 | __format: "json" | ||
33 | limit: | ||
34 | __name: "PEETUBE_SIGNUP_LIMIT" | ||
35 | __format: "json" | ||
36 | |||
37 | transcoding: | ||
38 | enabled: | ||
39 | __name: "PEERTUBE_TRANSCODING_ENABLED" | ||
40 | __format: "json" | ||