-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
69 lines (64 loc) · 1.51 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.8'
services:
nginx:
container_name: nginx
ports:
- 10.2.1.103:80:80
image: opentracing/nginx-opentracing
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./jaeger-config.json:/etc/jaeger-config.json
- ./html:/var/www/html
- ./log/nginx:/var/log/nginx
restart: always
networks:
default:
ipv4_address: 10.3.34.2
dle_php-fpm:
build:
context: build_dle_dockerfile/
dockerfile: ./Dockerfile
container_name: dle_php-fpm
# image: dle_php-fpm:0.2
volumes:
- ./html:/var/www/html
- ./log/dle.boyzcraft:/var/log
restart: always
networks:
default:
ipv4_address: 10.3.34.3
mysql:
image: mariadb
container_name: mysql
ports:
- 10.2.1.103:3306:3306
volumes:
- ./mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: pass
MYSQL_DATABASE: db
MYSQL_USER: user
MYSQL_PASSWORD: pass
restart: always
networks:
default:
ipv4_address: 10.3.34.4
jaeger:
image: jaegertracing/all-in-one
container_name: jaeger
ports:
- 10.2.1.103:16686:16686
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
networks:
default:
ipv4_address: 10.3.34.5
networks:
default:
name: docker_dev
ipam:
driver: default
config:
- subnet: 10.3.34.0/24
gateway: 10.3.34.1