-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (48 loc) · 1011 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
44
45
46
47
48
49
50
51
52
53
54
version: '3'
services:
python:
build: .
privileged: true
hostname: playground_dev
ports:
- 8081:5000
depends_on:
- redis
# - postgres
# - mysql
# - mongo
volumes:
- ${PWD}:/app
redis:
image: redis:5.0
restart: always
ports:
- 6379:6379
# postgres:
# image: postgres
# restart: always
# environment:
# - POSTGRES_PASSWORD=password
# - POSTGRES_USER=master
# - POSTGRES_DB=testdb
# mysql:
# image: mysql:5.7
# restart: always
# environment:
# MYSQL_ROOT_PASSWORD: password
# MYSQL_DATABASE: testdb
# ports:
# - "3308:3306"
# mongo:
# image: mongo
# environment:
# # - MONGO_INITDB_DATABASE=salesdb
# - MONGO_INITDB_ROOT_USERNAME=master
# - MONGO_INITDB_ROOT_PASSWORD=master
# ports:
# - 27017-27019:27017-27019
# restart: always
admin:
image: adminer
ports:
- "8084:8080"