3 files changed, 1 insertions, 21 deletions
diff --git a/.env b/.env
new file mode 100644
index 00000000..df6d28c8
--- /dev/null
+++ b/.env
@@ -0,0 +1 @@
+MONGO_URL=mongodb://mongo:27017/fosscord?readPreference=secondaryPreferred
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index daf8591a..d7a5d6dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -69,7 +69,6 @@ typings/
.yarn-integrity
# dotenv environment variables file
-.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
diff --git a/docker-compose.yml b/docker-compose.yml
deleted file mode 100644
index 9e665b1d..00000000
--- a/docker-compose.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-version: "3"
-services:
- fosscord-gateway:
- container_name: fosscord-gateway
- restart: always
- build: .
- ports:
- - "3002:3002"
- links:
- - mongo
- env_file: .env
- mongo:
- container_name: mongo
- image: mongo
- volumes:
- - ./data:/data/db
- - ./.docker/mongodb/mongod.conf:/etc/mongod.conf
- ports:
- - "27017:27017"
- command: ["-f", "/etc/mongod.conf"]
|