mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-13 14:12:41 +01:00
Setup: Add env file and delete docker-compose.yml
This commit is contained in:
parent
81f6539165
commit
ac594ba31d
1
.env
Normal file
1
.env
Normal file
@ -0,0 +1 @@
|
||||
MONGO_URL=mongodb://mongo:27017/fosscord?readPreference=secondaryPreferred
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -69,7 +69,6 @@ typings/
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
.env.test
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
|
@ -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"]
|
Loading…
Reference in New Issue
Block a user