mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
NuxtJS wants to write into .nuxt. If the docker container writes into .nuxt it will have the file permissions of the docker container user even on the host system. So on the host system you cannot remove the folder .nuxt anymore. This gets in the way of running NuxtJS on the host system.
48 lines
1.2 KiB
YAML
48 lines
1.2 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:
|
|
- NUXT_BUILD=.nuxt-dist
|
|
- 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
|
|
- MOCKS=false
|
|
- MAPBOX_TOKEN=pk.eyJ1IjoiaHVtYW4tY29ubmVjdGlvbiIsImEiOiJjajl0cnBubGoweTVlM3VwZ2lzNTNud3ZtIn0.KZ8KK9l70omjXbEkkbHGsQ
|
|
- PRIVATE_KEY_PASSPHRASE=a7dsf78sadg87ad87sfagsadg78
|
|
neo4j:
|
|
image: humanconnection/neo4j:latest
|
|
build:
|
|
context: neo4j
|
|
networks:
|
|
- hc-network
|
|
|
|
networks:
|
|
hc-network:
|