-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
24 lines (20 loc) · 1.15 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
version: '3'
services:
tile38:
image: tile38/tile38:1.33.3
container_name: tile38
command: >
/bin/sh -c 'mkdir -p tmp/data && \
echo "{\"logconfig\":{\"level\":\"debug\",\"encoding\":\"json\",\"outputPaths\":[\"stdout\"],\"errorOutputPaths\":[\"stderr\"],\"encoderConfig\": {\"messageKey\":\"message\",\"levelKey\":\"level\",\"levelEncoder\":\"lowercase\", \"timeKey\":\"timestamp\",\"timeEncoder\":\"ISO8601\"}}}"> tmp/data/config
tile38-server -d tmp/data -vv -p 9851 -l json'
ports:
- 9851:9851
tile38-follower:
image: tile38/tile38:1.33.3
container_name: tile38-follower
command: >
/bin/sh -c 'mkdir -p tmp/data && \
echo "{\"follow_host\":\"tile38\",\"follow_port\":9851,\"logconfig\":{\"level\":\"debug\",\"encoding\":\"json\",\"outputPaths\":[\"stdout\"],\"errorOutputPaths\":[\"stderr\"],\"encoderConfig\":{\"messageKey\":\"message\",\"levelKey\":\"level\",\"levelEncoder\":\"lowercase\",\"timeKey\":\"timestamp\",\"timeEncoder\":\"ISO8601\"}}}" > tmp/data/config
tile38-server -d tmp/data -vv -p 9852 -l json'
ports:
- 9852:9852