feat: docker-compose.yml for branding
This commit is contained in:
parent
e971592128
commit
57e7615c25
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.env
|
||||
52
docker-compose.yml
Normal file
52
docker-compose.yml
Normal 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.*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user