-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
124 lines (115 loc) · 3.55 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: '3'
services:
# mssqlserver:
# image: microsoft/mssql-server-linux:latest
# environment:
# - ACCEPT_EULA=Y
# - SA_PASSWORD=fairy@test13
# ports:
# - "1433:1433"
# networks:
# - hello
# volumes:
# - "mssql_data:/var/opt/mssql"
# - "mssql_example:/mnt/example"
# - "/d:/mnt/data"
neo4jserveruser:
image: neo4j:latest
environment:
- NEO4J_AUTH=neo4j/neo4jits2018
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
# - SA_PASSWORD=fairy@test13
ports:
- "1474:7474"
- "1687:7687"
networks:
- hello
volumes:
- "neo4j_user_data:/data"
# - "neo4jserver_logs:/logs"
neo4jserversp:
image: neo4j:latest
environment:
- NEO4J_AUTH=neo4j/neo4jits2018
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
# - SA_PASSWORD=fairy@test13
ports:
- "2474:7474"
- "2687:7687"
networks:
- hello
volumes:
- "neo4j_sp_data:/data"
# - "neo4jserver_logs:/logs"
supervisorserver:
image: shadow/supervisord-cron-debian:tugas-akhir
volumes:
- "./etc/supervisor-config:/etc/supervisord.d"
- "./etc/supervisord-cron-debian/dependency-tool.txt:/config/dependency-tool.txt"
- "./:/var/www/html"
networks:
- hello
phpfpmserver:
image: shadow/php-fpm-debian:tugas-akhir
deploy:
restart_policy:
condition: on-failure
delay: 5s
networks:
- hello
ports:
- "9000:9000"
# extra_hosts:
# - "host.machine:192.168.100.13"
# - "host.machine:192.168.2.70"
volumes:
- "./etc/xdebug/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini" #/usr/local/etc/php/docker-php-ext-xdebug.ini alpine image
- "./:/var/www/html"
# webserver:
# image: nginx:alpine
# volumes:
# - "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
# # - "./etc/ssl:/etc/ssl"
# - "./:/var/www/html"
# - "./etc/nginx/default.template.conf:/etc/nginx/conf.d/default.template"
# ports:
# - "80:80"
# - "443:443"
# networks:
# - hello
# environment:
# - NGINX_HOST=${NGINX_HOST}
# command: /bin/sh -c "envsubst '$$NGINX_HOST' < /etc/nginx/conf.d/default.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
# deploy:
# restart_policy:
# condition: on-failure
# delay: 5s
# supervisorserver:
# image: shadow/supervisord
# volumes:
# - "./etc/supervisor-config:/etc/supervisord.d"
# - "./:/var/www/html"
# networks:
# - hello
# redisserver:
# image: redis:alpine
# volumes:
# - "./etc/redis:/data"
# networks:
# - hello
networks:
hello:
volumes:
# mssql_data:
# external: true
# mssql_example:
# external: true
neo4j_user_data:
external: true
neo4j_sp_data:
external: true
# neo4jserver_logs:
# driver_opts:
# type: none
# device: /d/Git/Gitlab/user-dependency-tool/etc/mssqlserver
# o: bind