forked from utopia-php/database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (77 loc) · 1.55 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
version: '3.1'
services:
tests:
container_name: tests
image: database-dev
build:
context: .
networks:
- database
volumes:
- ./bin:/usr/src/code/bin
- ./src:/usr/src/code/src
- ./tests:/usr/src/code/tests
- ./phpunit.xml:/usr/src/code/phpunit.xml
ports:
- "8708:8708"
adminer:
image: adminer
container_name: utopia-adminer
restart: always
ports:
- "8760:8080"
networks:
- database
postgres:
image: postgres:13
container_name: utopia-postgres
networks:
- database
ports:
- "8700:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: password
mariadb:
image: mariadb:10.7
container_name: utopia-mariadb
networks:
- database
ports:
- "8701:3306"
environment:
- MYSQL_ROOT_PASSWORD=password
mongo:
image: mongo:5.0
container_name: utopia-mongo
networks:
- database
ports:
- "8702:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
mysql:
image: mysql:8.0.31
container_name: utopia-mysql
networks:
- database
ports:
- "8703: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:6.0-alpine
container_name: utopia-redis
ports:
- "8706:6379"
networks:
- database
networks:
database: