mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
in `docker-compose.yml` and `docker-compose.override.yml`. This should speed up builds e.g. on Travis CI, which does not need to sync folders or run `yarn run dev` if the docker image was built recently. Also it should make the build more reliable as it behaves more similar to our deployment.
22 lines
323 B
YAML
22 lines
323 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
webapp:
|
|
image: humanconnection/nitro-web:latest
|
|
build: .
|
|
ports:
|
|
- 3000:3000
|
|
- 8080:8080
|
|
networks:
|
|
- hc-network
|
|
environment:
|
|
- HOST=0.0.0.0
|
|
- BACKEND_URL=http://backend:4000
|
|
|
|
networks:
|
|
hc-network:
|
|
name: hc-network
|
|
|
|
volumes:
|
|
node_modules:
|