mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
* Replace BACKEND_URL with GRAPHQL_URI environment (DRY) * Trigger rollout deployments by a simple label update * DRY configmap and secret configuration
25 lines
488 B
YAML
25 lines
488 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
webapp:
|
|
image: humanconnection/nitro-web:latest
|
|
build:
|
|
context: .
|
|
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"
|
|
|
|
networks:
|
|
hc-network:
|
|
name: hc-network
|
|
|
|
volumes:
|
|
node_modules:
|