Use compose, disable major parts of application.

This commit is contained in:
Paul Makles
2020-12-28 14:54:34 +00:00
parent 4a95132ee8
commit a91bae2784
9 changed files with 40 additions and 63 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
version: '2'
services:
database:
image: mongo
restart: always
web:
build: .
environment:
- REVOLT_MONGO_URI=mongodb://localhost
- REVOLT_PUBLIC_URL=https://local.revolt.chat
- REVOLT_USE_EMAIL_VERIFICATION=0
- REVOLT_UNSAFE_NO_EMAIL=1
- REVOLT_UNSAFE_NO_CAPTCHA=1
ports:
- "8000:8000"
- "9999:9999"
restart: unless-stopped