mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 10:52:31 +01:00
435e67b7a9
This reverts commit aae55cfe71
.
24 lines
529 B
YAML
24 lines
529 B
YAML
version: "3"
|
|
services:
|
|
db:
|
|
hostname: fosscord_db
|
|
image: mongo:latest
|
|
volumes:
|
|
- ./db:/data/db
|
|
restart: unless-stopped
|
|
api:
|
|
hostname: fosscord_api
|
|
image: fosscord/api
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- 3001:3001
|
|
env_file: ./.docker/env
|
|
gateway:
|
|
hostname: fosscord_gateway
|
|
image: fosscord/gateway
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- 3002:3002
|
|
env_file: ./.docker/env |