mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 15:25:57 +00:00
60 lines
2.0 KiB
YAML
60 lines
2.0 KiB
YAML
version: "3.4"
|
|
|
|
services:
|
|
########################################################
|
|
# WEBAPP ###############################################
|
|
########################################################
|
|
webapp:
|
|
image: ocelotsocialnetwork/webapp:test
|
|
build:
|
|
target: test
|
|
environment:
|
|
- NODE_ENV="test"
|
|
volumes:
|
|
- ./coverage:/app/coverage
|
|
########################################################
|
|
# BACKEND ##############################################
|
|
########################################################
|
|
backend:
|
|
image: ocelotsocialnetwork/backend:test
|
|
build:
|
|
target: test
|
|
environment:
|
|
- NODE_ENV="test"
|
|
volumes:
|
|
- ./coverage:/app/coverage
|
|
########################################################
|
|
# NEO4J ################################################
|
|
########################################################
|
|
neo4j:
|
|
image: ocelotsocialnetwork/neo4j-community:test
|
|
#environment:
|
|
# - NEO4J_dbms_connector_bolt_enabled=true
|
|
# - NEO4J_dbms_connector_bolt_tls__level=OPTIONAL
|
|
# - NEO4J_dbms_connector_bolt_listen__address=0.0.0.0:7687
|
|
# - NEO4J_auth=none
|
|
# - NEO4J_dbms_connectors_default__listen__address=0.0.0.0
|
|
# - NEO4J_dbms_connector_http_listen__address=0.0.0.0:7474
|
|
# - NEO4J_dbms_connector_https_listen__address=0.0.0.0:7473
|
|
networks:
|
|
# So we can access the neo4j query browser from our host machine
|
|
- external-net
|
|
########################################################
|
|
# MAINTENANCE ##########################################
|
|
########################################################
|
|
maintenance:
|
|
image: ocelotsocialnetwork/maintenance:test
|
|
########################################################
|
|
# MAILSERVER TO FAKE SMTP ##############################
|
|
########################################################
|
|
mailserver:
|
|
image: djfarrelly/maildev
|
|
ports:
|
|
- 1080:80
|
|
networks:
|
|
- external-net
|
|
|
|
volumes:
|
|
webapp_node_modules:
|
|
backend_node_modules:
|