-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 871 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (40 loc) · 871 Bytes
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
version: '3.5'
services:
# primary application
node:
image: homework
hostname: node
volumes:
- type: bind
source: ./static/
target: /var/www/imgcache/static/
read_only: false
- type: bind
source: ./build/
target: /var/www/imgcache/build/
read_only: false
networks:
- trazNet
ports:
- 8888:80
environment:
CACHE_PATH: "/var/www/imgcache/cache"
STATIC_PATH: "/var/www/imgcache/static"
RESIZE_STRATEGY: "FIT"
NODE_ENV: "production"
PORT: 80
STATSD_HOST: "statsd"
STATSD_PORT: 8125
statsd:
hostname: statsd
image: samuelebistoletti/docker-statsd-influxdb-grafana
networks:
- trazNet
ports:
- 3003:3003
- 3004:8888
- 8086:8086
- 8125:8125/udp
networks:
trazNet:
driver: overlay