mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Here are the issues * webapp was built with `NODE_ENV=production` but started with `NODE_ENV=development` * using the provided `docker-compose.travis.yml` the command `yarn run start` would look in the wrong folder * removed duplicate environment definition
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
version: "3.4"
|
|
|
|
services:
|
|
webapp:
|
|
image: humanconnection/nitro-web:latest
|
|
build:
|
|
context: webapp
|
|
target: production
|
|
ports:
|
|
- 3000:3000
|
|
- 8080:8080
|
|
networks:
|
|
- hc-network
|
|
environment:
|
|
- HOST=0.0.0.0
|
|
- GRAPHQL_URI=http://backend:4000
|
|
- MAPBOX_TOKEN="pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.bZ8KK9l70omjXbEkkbHGsQ"
|
|
backend:
|
|
image: humanconnection/nitro-backend:latest
|
|
build:
|
|
context: backend
|
|
target: production
|
|
networks:
|
|
- hc-network
|
|
depends_on:
|
|
- neo4j
|
|
ports:
|
|
- 4000:4000
|
|
environment:
|
|
- NEO4J_URI=bolt://neo4j:7687
|
|
- GRAPHQL_PORT=4000
|
|
- GRAPHQL_URI=http://localhost:4000
|
|
- CLIENT_URI=http://localhost:3000
|
|
- JWT_SECRET=b/&&7b78BF&fv/Vd
|
|
- MAPBOX_TOKEN=pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ
|
|
- PRIVATE_KEY_PASSPHRASE=a7dsf78sadg87ad87sfagsadg78
|
|
neo4j:
|
|
image: humanconnection/neo4j:latest
|
|
build:
|
|
context: neo4j
|
|
networks:
|
|
- hc-network
|
|
maintenance:
|
|
image: humanconnection/maintenance:latest
|
|
build:
|
|
context: deployment/human-connection/maintenance
|
|
networks:
|
|
- hc-network
|
|
ports:
|
|
- 80:80
|
|
|
|
networks:
|
|
hc-network:
|