-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
129 lines (119 loc) · 2.95 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
volumes:
mongodb_data:
driver: local
postgres_data:
driver: local
redis_data:
driver: local
elasticsearch_data:
driver: local
minio_data:
driver: local
nginx_proxy_manager_data:
driver: local
airflow_data:
driver: local
networks:
local:
driver: bridge
services:
airflow:
image: apache/airflow:latest-python3.12
container_name: airflow
restart: always
ports:
- 8081:8081
volumes:
- airflow_data:/opt/airflow
- ./airflow:/airflow
env_file:
- .env.local
command: airflow webserver --port 8081 #changed to 8081 conflicts with nocodb (default 8080)
nocodb:
image: nocodb/nocodb:latest
container_name: nocodb
restart: always
ports:
- 8080:8080
volumes:
- ./nocodb:/usr/app/data/
env_file:
- .env.local
mongodb:
image: mongo:latest
container_name: mongodb
restart: always
ports:
- ${MONGO_DB_PORT}:27017
volumes:
- mongodb_data:/data/db
env_file:
- .env.local
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD}
postgres:
image: postgres:16.4
container_name: postgres
restart: always
environment:
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_USER=${DB_USER}
- POSTGRES_DB=${DB_NAME}
ports:
- ${POSTGRES_DB_PORT}:5432
volumes:
- postgres_data:/var/lib/postgresql/data
env_file:
- .env.local
redis:
image: redis:7.2-alpine
container_name: redis
restart: always
ports:
- ${REDIS_PORT:-6379}:6379
volumes:
- redis_data:/data
command: redis-server --save 20 1 --loglevel warning
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.1
container_name: elasticsearch
restart: always
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- ${ELASTICSEARCH_PORT:-9200}:9200
volumes:
- elasticsearch_data:/usr/share/elasticsearch/data
minio:
image: minio/minio:RELEASE.2024-03-10T02-53-48Z
container_name: minio
restart: always
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minioadmin}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-minioadmin}
ports:
- ${MINIO_API_PORT:-9000}:9000
- ${MINIO_CONSOLE_PORT:-9001}:9001
volumes:
- minio_data:/data
mailhog:
image: mailhog/mailhog:v1.0.1
container_name: mailhog
restart: always
ports:
- ${MAILHOG_SMTP_PORT:-1025}:1025
- ${MAILHOG_WEB_PORT:-8025}:8025
nginx-proxy-manager:
image: 'docker.io/jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- nginx_proxy_manager_data:/data
- nginx_proxy_manager_data:/etc/letsencrypt