mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
This should fix our endless debugging
@ogerly all you have to do now is to `docker-compose up`. On your host machine, you can run `yarn run cypress:open` to run the tests.
This commit is contained in:
parent
8c681408a6
commit
bfa0509693
@ -16,6 +16,30 @@ services:
|
|||||||
- webapp_node_modules:/nitro-web/node_modules
|
- webapp_node_modules:/nitro-web/node_modules
|
||||||
command: yarn run dev
|
command: yarn run dev
|
||||||
user: root
|
user: root
|
||||||
|
factories:
|
||||||
|
image: humanconnection/nitro-backend:builder
|
||||||
|
build:
|
||||||
|
context: backend
|
||||||
|
target: builder
|
||||||
|
ports:
|
||||||
|
- 4001:4001
|
||||||
|
networks:
|
||||||
|
- hc-network
|
||||||
|
volumes:
|
||||||
|
- ./backend:/nitro-backend
|
||||||
|
- factories_node_modules:/nitro-backend/node_modules
|
||||||
|
- uploads:/nitro-backend/public/uploads
|
||||||
|
depends_on:
|
||||||
|
- neo4j
|
||||||
|
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
|
||||||
|
command: yarn run test:before:seeder
|
||||||
backend:
|
backend:
|
||||||
image: humanconnection/nitro-backend:builder
|
image: humanconnection/nitro-backend:builder
|
||||||
build:
|
build:
|
||||||
@ -42,5 +66,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
webapp_node_modules:
|
webapp_node_modules:
|
||||||
backend_node_modules:
|
backend_node_modules:
|
||||||
|
factories_node_modules:
|
||||||
neo4j-data:
|
neo4j-data:
|
||||||
uploads:
|
uploads:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user