-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
41 lines (41 loc) · 1.13 KB
/
docker-compose.override.yml
File metadata and controls
41 lines (41 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
version: '3'
# This docker compose file makes a few changes that make developing easier.
# Docker will automatically layer this over the docker-compose.yml base file
#
# The changes are
# - the addition of a node server that auto recompiles the front end
# - Pulling in the nginx config from outside and using the develop
# instead of the production file
services:
dev-server:
build:
context: ./flo_web/web_app/
environment:
- CI=true
volumes:
- ./flo_web/web_app/src:/usr/src/app/src
- ./flo_web/web_app/public:/usr/src/app/public
- ./flo_humanoid:/usr/flo_humanoid
ports:
- 3000:3000
nginx:
volumes:
- ./flo_web/nginx-dev.conf:/etc/nginx/conf.d/default.conf
depends_on:
- dev-server
host-server:
volumes:
- ./flo_web/web_server/src:/usr/src/app/src
command: [npm, run, dev-host]
operator-server:
volumes:
- ./flo_web/web_server/src:/usr/src/app/src
command: [npm, run, dev-operator]
api-server:
volumes:
- ./flo_web/web_server/src:/usr/src/app/src
command: [npm, run, dev-api]
postgres:
ports:
- 5432:5432