Ocelot-Social/docker-compose.yml
Robert Schäfer db724e7834 Split development config from production config
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.
2018-12-08 15:45:02 +01:00

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: