forked from FerretDB/FerretDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (61 loc) · 1.59 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# This file is used for the development of FerretDB, not for actually running it.
---
version: "3.8"
services:
postgres:
build:
context: ./build/deps
dockerfile: postgres.Dockerfile
container_name: ferretdb_postgres
command: postgres -c 'max_connections=200'
ports:
- 5432:5432
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
# UTC−03:30/−02:30. Set to catch timezone problems.
- TZ=America/St_Johns
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_DB=ferretdb
tigris:
build:
context: ./build/deps
dockerfile: ${TIGRIS_DOCKERFILE:-tigris}.Dockerfile
container_name: ferretdb_tigris
ports:
- 8081:8081
# for proxy mode and mongosh
mongodb:
build:
context: ./build/deps
dockerfile: ${MONGO_DOCKERFILE:-mongo5}.Dockerfile
container_name: ferretdb_mongodb
command: --enableFreeMonitoring off
ports:
- 37017:27017
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
# Always UTC+05:45. Set to catch timezone problems.
- TZ=Asia/Kathmandu
markdownlint:
build:
context: ./build/deps
dockerfile: markdownlint.Dockerfile
container_name: ferretdb_markdownlint
volumes:
- .:/workdir
debian:
build:
context: ./build/deps
dockerfile: debian11.Dockerfile
container_name: ferretdb_debian
volumes:
- ./build/deb:/deb
centos:
build:
context: ./build/deps
dockerfile: centos7.Dockerfile
container_name: ferretdb_centos
volumes:
- ./build/rpm:/rpm