-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
167 lines (153 loc) · 3.49 KB
/
docker-compose.yml
File metadata and controls
167 lines (153 loc) · 3.49 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
services:
tests:
container_name: tests
image: databases-dev
build:
context: .
args:
DEBUG: true
networks:
- database
volumes:
- ./bin:/usr/src/code/bin
- ./src:/usr/src/code/src
- ./tests:/usr/src/code/tests
- ./dev:/usr/src/code/dev
- ./phpunit.xml:/usr/src/code/phpunit.xml
- ./dev/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini
- /var/run/docker.sock:/var/run/docker.sock
- ./docker-compose.yml:/usr/src/code/docker-compose.yml
adminer:
image: adminer
container_name: utopia-adminer
restart: always
ports:
- "8700:8080"
networks:
- database
postgres:
image: postgres:16.4
container_name: utopia-postgres
networks:
- database
ports:
- "8701:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: password
postgres-mirror:
image: postgres:16.4
container_name: utopia-postgres-mirror
networks:
- database
ports:
- "8702:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: password
mariadb:
image: mariadb:10.11
container_name: utopia-mariadb
command: mariadbd --max_allowed_packet=1G
networks:
- database
ports:
- "8703:3306"
environment:
- MYSQL_ROOT_PASSWORD=password
mariadb-mirror:
image: mariadb:10.11
container_name: utopia-mariadb-mirror
command: mariadbd --max_allowed_packet=1G
networks:
- database
ports:
- "8704:3306"
environment:
- MYSQL_ROOT_PASSWORD=password
mongo:
image: mongo:5.0
container_name: utopia-mongo
networks:
- database
ports:
- "8705:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
mysql:
image: mysql:8.0.33
container_name: utopia-mysql
networks:
- database
ports:
- "8706:3307"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: default
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_TCP_PORT: 3307
cap_add:
- SYS_NICE
mysql-mirror:
image: mysql:8.0.33
container_name: utopia-mysql-mirror
networks:
- database
ports:
- "8707:3307"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: default
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_TCP_PORT: 3307
cap_add:
- SYS_NICE
redis:
image: redis:7.4.1-alpine3.20
container_name: utopia-redis
ports:
- "8708:6379"
networks:
- database
redis-mirror:
image: redis:7.4.1-alpine3.20
container_name: utopia-redis-mirror
ports:
- "8709:6379"
networks:
- database
scylladb:
image: scylladb/scylla:5.2
container_name: utopia-scylladb
restart: unless-stopped
networks:
- database
ports:
- "8710:9042"
command: --smp 1 --memory 750M --overprovisioned 1 --api-address 0.0.0.0
healthcheck:
test: ["CMD-SHELL", "nodetool status"]
interval: 30s
timeout: 10s
retries: 5
scylladb-mirror:
image: scylladb/scylla:5.2
container_name: utopia-scylladb-mirror
restart: unless-stopped
networks:
- database
ports:
- "8711:9042"
command: --smp 1 --memory 750M --overprovisioned 1 --api-address 0.0.0.0
healthcheck:
test: ["CMD-SHELL", "nodetool status"]
interval: 30s
timeout: 10s
retries: 5
networks:
database:
volumes:
appwrite-scylladb: