feat: docker-compose.yml for branding

This commit is contained in:
Robert Schäfer 2024-10-28 10:53:42 +01:00
parent e971592128
commit 57e7615c25
2 changed files with 53 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.env

52
docker-compose.yml Normal file
View File

@ -0,0 +1,52 @@
services:
webapp:
image: ghcr.io/ocelot-social-community/stage.ocelot.social/webapp:ocelot-${OCELOT_VERSION:-master}--branded-${BRANDED_VERSION:-master}
build:
context: .
dockerfile: ./docker/backend.Dockerfile
target: branded
args:
OCELOT_VERSION: ${OCELOT_VERSION:-master}
environment:
GRAPHQL_URI: http://backend:4000
ports:
- 3000:3000
depends_on:
- backend
backend:
image: ghcr.io/ocelot-social-community/stage.ocelot.social/backend:ocelot-${OCELOT_VERSION:-master}--branded-${BRANDED_VERSION:-master}
build:
context: .
dockerfile: ./docker/webapp.Dockerfile
target: branded
args:
OCELOT_VERSION: ${OCELOT_VERSION:-master}
environment:
CLIENT_URI: http://localhost:3000
GRAPHQL_URI: http://backend:4000
NEO4J_URI: bolt://neo4j:7687
ports:
- 4000:4000
depends_on:
- neo4j
maintenance:
image: ghcr.io/ocelot-social-community/stage.ocelot.social/maintenance:ocelot-${OCELOT_VERSION:-master}--branded-${BRANDED_VERSION:-master}
build:
context: .
dockerfile: ./docker/maintenance.Dockerfile
target: branded
args:
OCELOT_VERSION: ${OCELOT_VERSION:-master}
ports:
- 3001:80
neo4j:
image: ghcr.io/ocelot-social-community/ocelot-social/neo4j:${OCELOT_VERSION:-master}
environment:
NEO4J_AUTH: none
NEO4J_dbms_allow__format__migration: "true"
NEO4J_dbms_allow__upgrade: "true"
NEO4J_dbms_security_procedures_unrestricted: algo.*,apoc.*