-
Notifications
You must be signed in to change notification settings - Fork 121
/
docker-compose.yaml
52 lines (49 loc) · 1.04 KB
/
docker-compose.yaml
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
version: "2"
services:
nginx:
image: opentracing/nginx-opentracing
networks:
zoonet:
aliases:
- nginx
volumes:
- ./start-nginx.sh:/start-nginx.sh
- ./nginx.conf:/etc/nginx/nginx.conf
- ./lightstep-config.json.in:/tmp/lightstep-config.json.in
- ./www:/app/www
- image-volume:/app/data/images
- tmp-volume:/tmp
environment:
- LIGHTSTEP_ACCESS_TOKEN=${LIGHTSTEP_ACCESS_TOKEN}
expose:
- "8080"
ports:
- "8080:8080"
entrypoint: ./start-nginx.sh
backend:
build:
context: .
dockerfile: ./Dockerfile
environment:
- LIGHTSTEP_ACCESS_TOKEN=${LIGHTSTEP_ACCESS_TOKEN}
networks:
zoonet:
aliases:
- backend
volumes:
- image-volume:/app/data/images
- tmp-volume:/tmp
expose:
- "3001"
- "3002"
- "3003"
ports:
- "3001:3001"
- "3002:3002"
- "3003:3003"
entrypoint: ./start-backend.sh
volumes:
image-volume:
tmp-volume:
networks:
zoonet: {}