Browse Source

Add README

Josh Bicking 6 years ago
parent
commit
7df7734e89
3 changed files with 18 additions and 2 deletions
  1. 16 0
      README.md
  2. 1 1
      docker-compose.yaml
  3. 1 1
      max_body_size.conf

+ 16 - 0
README.md

@@ -0,0 +1,16 @@
+# docker-compose-server
+
+A docker-compose config for my personal server.
+
+## Using these files
+
+The easiest way to use these files is to copy the config of a service you want into your own `docker-compose.yaml` file. You'll need to change my domain names to your own.
+
+If you decide to use environment variables, you'll need to create a `.env` file in the same directory as your compose file. This should declare any variables used in the compose file.
+
+For example, if your compose file uses the `CONTAINERS_DIR` and `POSTGRES_PASSWORD` variables I'm using in my compose file, your `.env` file should look something like this:
+
+```
+CONTAINERS_DIR=/home/user/my-container-data
+POSTGRES_PASSWORD=mysecretpassword
+```

+ 1 - 1
docker-compose.yaml

@@ -203,4 +203,4 @@ services:
   #     - ${CONTAINERS_DIR}/gitlab/config:/etc/gitlab
   #     - ${CONTAINERS_DIR}/gitlab/logs:/var/log/gitlab
   #     - ${CONTAINERS_DIR}/gitlab/data:/var/opt/gitlab
-  #   restart: always
+  #   restart: always

+ 1 - 1
max_body_size.conf

@@ -1 +1 @@
-client_max_body_size 16000m;
+client_max_body_size 16000m;