aboutsummaryrefslogtreecommitdiff
path: root/config-init.docker
diff options
context:
space:
mode:
authorFChannel0 <77419041+FChannel0@users.noreply.github.com>2021-08-17 12:41:20 -0700
committerGitHub <noreply@github.com>2021-08-17 12:41:20 -0700
commit21917eb2ea72fe40d70c2c991e821aace5430c23 (patch)
tree4dd4122a8661231181ead7c00bdc92c3d498589f /config-init.docker
parent149f71db2d6e1b704ff2712393da5276a622d4dd (diff)
parentc8e0fb94bac60679ccebfcdec9cefb32674b2eec (diff)
Merge pull request #51 from KushBlazingJudah/development
go fmt and docker configuration
Diffstat (limited to 'config-init.docker')
-rw-r--r--config-init.docker42
1 files changed, 42 insertions, 0 deletions
diff --git a/config-init.docker b/config-init.docker
new file mode 100644
index 0000000..6a8b18a
--- /dev/null
+++ b/config-init.docker
@@ -0,0 +1,42 @@
+instance:fchan.xyz
+instanceport:3000
+instancename:FChan
+instancesummary:FChan is a federated image board instance.
+
+## For `instancetp` if you plan to support https
+## make sure you setup the ssl certs before running the server initially
+## do not start with http:// and then switch to https://
+## this will cause issues if switched from on protocol to the other.
+## If you do, the database entries will have to be converted to support the change
+## this will cause a lot of headaches if switched back and forth.
+## Choose which one you are going to support and do not change it for best results.
+
+instancetp:http://
+
+## postgres is at postgres and is setup with default credentials
+dbhost:postgres
+dbport:5432
+dbname:fchan
+dbuser:fchan
+dbpass:hackme
+
+emailserver:
+emailport:
+emailaddress:
+emailpass:
+
+## enter proxy ip and port if you want to have tor connections supported
+## 127.0.0.1:9050 default
+
+torproxy:
+
+## Change to true if you want your instance to be added to the public instance index
+
+publicindex:false
+
+## add your instance salt here for secure tripcodes
+
+instancesalt:
+
+## we have redis at "redis", so...
+redis:redis://redis