Skip to content

Commit 20238ad

Browse files
- Changes Structr and Neo4j docker images.
- Changes the configuration, so Docker Volumes are usesd for the mounted directories by default. - Adds longer default password for Neo4j database.
1 parent 0457441 commit 20238ad

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docker-compose.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
version: '3.3'
22
services:
33
neo4j:
4-
image: neo4j:4.4
4+
image: neo4j:latest
55

66
# Structr versions < 4.0 can't change the initial neo4j password, so it has to be
77
# set in the environment of the docker container. The password here has to be the
88
# same as in the structr.conf file (default-migrated.database.connection.password).
99
environment:
10-
- NEO4J_AUTH=neo4j/structr
10+
- NEO4J_AUTH=neo4j/structrDockerSetup
1111

1212
# Uncomment to give host access to the service container
1313
# ports:
@@ -28,16 +28,16 @@ services:
2828
# Add volumes for data retention
2929
volumes:
3030
# folders
31-
- ./volumes/neo4j-database:/data
32-
- ./volumes/neo4j-logs:/logs
31+
- neo4j-database:/data
32+
- neo4j-logs:/logs
3333

3434
# Put service networks so Structr and Neo4j can communicate
3535
networks:
3636
database:
3737
aliases:
3838
- neo4j
3939
structr:
40-
image: structr/structr:latest
40+
image: structr/structr:5.0-rc1
4141
depends_on:
4242
- neo4j
4343
ports:
@@ -52,7 +52,7 @@ services:
5252
- STRUCTR_neo4j__default_database_connection_name=neo4j_default
5353
- STRUCTR_neo4j__default_database_connection_url=bolt://neo4j:7687
5454
- STRUCTR_neo4j__default_database_connection_username=neo4j
55-
- STRUCTR_neo4j__default_database_connection_password=structr
55+
- STRUCTR_neo4j__default_database_connection_password=structrDockerSetup
5656
- STRUCTR_nodeservice_active=neo4j_default
5757
- STRUCTR_application_schema_automigration=true
5858

@@ -74,9 +74,9 @@ services:
7474
volumes:
7575

7676
# folders
77-
- ./volumes/structr-files:/var/lib/structr/files
78-
- ./volumes/structr-repository:/var/lib/structr/repository
79-
- ./volumes/structr-logs:/var/lib/structr/logs
77+
- structr-files:/var/lib/structr/files
78+
- structr-repository:/var/lib/structr/repository
79+
- structr-logs:/var/lib/structr/logs
8080
- ./structr/license.key:/var/lib/structr/license.key
8181

8282
# Put service into network so Structr and Neo4j can communicate

0 commit comments

Comments
 (0)