mirror of
https://github.com/Ocelot-Social-Community/stage.ocelot.social.git
synced 2025-12-12 15:25:58 +00:00
81 lines
2.3 KiB
YAML
81 lines
2.3 KiB
YAML
services:
|
|
webapp:
|
|
image: ghcr.io/ocelot-social-community/stage.ocelot.social/webapp
|
|
build:
|
|
context: .
|
|
dockerfile: ./docker/webapp.Dockerfile
|
|
target: branded
|
|
args:
|
|
OCELOT_VERSION: ${OCELOT_VERSION:-master}
|
|
environment:
|
|
HOST: 0.0.0.0
|
|
WEBSOCKETS_URI: ws://localhost:3000/api/graphql
|
|
GRAPHQL_URI: http://backend:4000/
|
|
MAPBOX_TOKEN: "pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g"
|
|
PUBLIC_REGISTRATION: "true"
|
|
INVITE_REGISTRATION: "true"
|
|
CATEGORIES_ACTIVE: "true"
|
|
BADGES_ENABLED: "true"
|
|
NETWORK_NAME: "stage.ocelot.social"
|
|
ASK_FOR_REAL_NAME: "false"
|
|
ports:
|
|
- 3000:3000
|
|
depends_on:
|
|
- backend
|
|
|
|
backend:
|
|
image: ghcr.io/ocelot-social-community/stage.ocelot.social/backend
|
|
build:
|
|
context: .
|
|
dockerfile: ./docker/backend.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
|
|
MAPBOX_TOKEN: "pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g"
|
|
JWT_SECRET: "b/&&7b78BF&fv/Vd"
|
|
PUBLIC_REGISTRATION: "true"
|
|
INVITE_REGISTRATION: "true"
|
|
CATEGORIES_ACTIVE: "true"
|
|
MAX_PINNED_POSTS: "1"
|
|
SMTP_HOST: "mailserver"
|
|
SMTP_PORT: "1025"
|
|
SMTP_IGNORE_TLS: "true"
|
|
SMTP_USERNAME:
|
|
SMTP_PASSWORD:
|
|
SMTP_MAX_CONNECTIONS: "1"
|
|
SMTP_MAX_MESSAGES: "10"
|
|
EMAIL_DEFAULT_SENDER: "hello@ocelot.social"
|
|
EMAIL_SUPPORT: "hello@ocelot.social"
|
|
ports:
|
|
- 4000:4000
|
|
depends_on:
|
|
- neo4j
|
|
|
|
maintenance:
|
|
image: ghcr.io/ocelot-social-community/stage.ocelot.social/maintenance
|
|
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:master
|
|
ports:
|
|
- 7473:7473
|
|
- 7474:7474
|
|
- 7687:7687
|
|
environment:
|
|
NEO4J_AUTH: none
|
|
NEO4J_dbms_allow__format__migration: "true"
|
|
NEO4J_dbms_allow__upgrade: "true"
|
|
NEO4J_dbms_security_procedures_unrestricted: algo.*,apoc.*
|
|
|