-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
43 lines (38 loc) · 939 Bytes
/
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
version: '3.7'
services:
mongodb:
container_name: mongodb
image: mongo
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME:-mongo}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD:-password}
mysql:
container_name: mysql
image: mysql:5.7
restart: always
ports:
- 3306:3306
environment:
MYSQL_DATABASE: py_abac
MYSQL_USER: ${MYSQL_USER:-mysql}
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-password}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-password}
postgres:
container_name: postgres
image: postgres
restart: always
ports:
- 5432:5432
environment:
POSTGRES_USER: ${POSTGRES_USERNAME:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password}
POSTGRES_DB: py_abac
redis:
container_name: redis
image: redis
restart: always
ports:
- 6379:6379