-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstage.yml
63 lines (63 loc) · 1.57 KB
/
stage.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
version: '3'
services:
tensorflow:
container_name: object-detection
build:
context: ./tensorflow
dockerfile: DockerStagefile
ports:
- '5555:5555'
- '6006:6006'
- '8888:8888'
env_file:
- ./tensorflow/container.env
networks:
- mosquitto
- lemp
- default
volumes:
- /home/samba/test-result-only:/keras/examples/test-result-only
- ./www:/var/www/:cached
- ./keras:/keras:cached
- ./MaskRCNN:/MaskRCNN:cached
- ./tensorflow/supervisor:/etc/supervisor/conf.d
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
# command: ["tail", "-f", "/dev/null"]
command:
[
'/bin/bash',
'-c',
'python2 /usr/bin/supervisord --nodaemon --configuration /etc/supervisor/supervisord.conf',
]
rabbitmq:
container_name: docker-rabbitmq
build:
context: ./rabbitmq
dockerfile: Dockerfile
networks:
- default
ports:
- '15673:15672' # port expose corresponding local computer port -> container port
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
command: ['/bin/bash', '/init.sh']
redis:
environment:
- TZ=Asia/Shanghai
container_name: docker-redis
image: redis:4.0-alpine
volumes:
- "/etc/localtime:/etc/localtime:ro"
ports:
- "6380:6379"
networks:
- default
networks:
mosquitto:
external:
name: docker-mosquitto-with-auth_default
lemp:
external:
name: docker-lemp_default