-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.storage.yml
More file actions
45 lines (41 loc) · 836 Bytes
/
docker-compose.storage.yml
File metadata and controls
45 lines (41 loc) · 836 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
43
44
45
version: '3.7'
services:
mysqld:
image: mysql:8.0
volumes:
- ./mysqldata:/var/lib/mysql
deploy:
endpoint_mode: "dnsrr"
env_file:
- ./config/use/mysql.env
networks:
- lockdown
user: "1000"
expose:
- 3306
restart: on-failure
neo4j:
image: neo4j:3.5.0
deploy:
endpoint_mode: dnsrr
volumes:
- ./neo4jdata:/data
env_file:
- ./config/use/neo4j.env
networks:
- lockdown
- public
expose:
- 7474
- 7687
ports:
- "7474:7474"
- "7687:7687"
user: "1000"
restart: on-failure
networks:
lockdown: # No external network allowed for storage services
name: opensentry_lockdown
internal: true
public: # required to be able to use localhost:7474 for neo4j debugging
name: public