2021-08-13 01:09:08 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
hostname: fosscord_db
|
2021-10-18 14:36:57 +02:00
|
|
|
image: mongo:latest
|
2021-08-13 01:09:08 +02:00
|
|
|
volumes:
|
2021-10-18 14:36:57 +02:00
|
|
|
- ./db:/data/db
|
2021-08-13 01:09:08 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
api:
|
2021-10-18 14:36:57 +02:00
|
|
|
hostname: fosscord_api
|
|
|
|
image: fosscord/api
|
2021-08-13 01:09:08 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
ports:
|
|
|
|
- 3001:3001
|
2021-10-18 14:36:57 +02:00
|
|
|
env_file: ./.docker/env
|
2021-08-13 01:09:08 +02:00
|
|
|
gateway:
|
2021-10-18 14:36:57 +02:00
|
|
|
hostname: fosscord_gateway
|
|
|
|
image: fosscord/gateway
|
2021-08-13 01:09:08 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
ports:
|
|
|
|
- 3002:3002
|
2021-10-18 14:36:57 +02:00
|
|
|
env_file: ./.docker/env
|