-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
45 lines (41 loc) · 1.01 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
##############################################
# This configuration is for development only
rest:
image: pdonorio/py3api
hostname: restapi
# DEBUG
#command: sleep infinity
command: ./run.py
#########################
# Our services API want to use the HTTP range port: 8081-8089
ports:
- 8081:5000
#########################
volumes:
- .:/code:rw
- apiuploads:/uploads
working_dir: /code
# ##############################################
# # TEST API FROM ANOTHER CONTAINER
# client:
# image: pdonorio/py3api
# command: sleep infinity
# links:
# - rest:api
# volumes:
# - .:/code:rw
# ##############################################
# # MY RANDOM TESTS
# # Access http://IP:80/admin/user/
# tests:
# image: pdonorio/py3api
# hostname: justatest
# #command: python3 admin.py
# #command: python3 security.py
# command: sleep infinity
# ports:
# - 8888:5000
# volumes:
# - ./flasktests:/code:rw
# working_dir: /code
# ##############################################