-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (56 loc) · 1.28 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
version: '3'
services:
api:
hostname: api
container_name: api
image: what2bake/api
build:
context: .
dockerfile: main.dockerfile
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=docker
- DATABASE_INIT=true
links:
- pocketbase
- neo4j
depends_on:
- pocketbase
- neo4j
pocketbase:
hostname: pocketbase
container_name: pocketbase
image: pocketbase
restart: unless-stopped
build:
context: .
dockerfile: pocketbase.dockerfile
args:
PB_VERSION: 0.12.3
ARCH: linux_amd64
ports:
- "9090:9090"
volumes:
- ./.data/pocketbase:/pb/pb_data
neo4j:
hostname: neo4j
container_name: neo4j
image: neo4j:5.3
restart: unless-stopped
ports:
- "7474:7474"
- "7687:7687"
volumes:
- ./.data/neo4j/data:/data
- ./.data/neo4j/conf:/conf
- ./.data/neo4j/plugins:/plugins
environment:
- NEO4J_AUTH=neo4j/password
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_PLUGINS=["apoc"]
- NEO4J_apoc_import_file_enabled=true
# Raise memory limits
- NEO4J_dbms_memory_pagecache_size=1G
- NEO4J_dbms.memory.heap.initial_size=1G
- NEO4J_dbms_memory_heap_max__size=1G