-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcompose.yaml
More file actions
45 lines (39 loc) · 826 Bytes
/
compose.yaml
File metadata and controls
45 lines (39 loc) · 826 Bytes
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
42
43
44
version: '3.9'
services:
test:
# image: befair/sbcatalog-test:latest
build: ./test/
volumes:
- ./test:/code/test:ro
# Replicate the mount that "back" had:
- ./api:/code/api:ro
depends_on:
- proxy
- db
proxy:
image: nginx:latest
volumes:
- ./proxy:/etc/nginx/conf.d:ro
- ./sbcatalog_media:/var/www/sbcatalog_media/
ports:
- '127.0.0.1:8080:80'
- '127.0.0.1:8443:443'
depends_on:
- front
- back
restart: on-failure
front:
build: ./ui/
# image: befair/sbcatalog-front:latest
volumes:
- ./ui:/code/ui:rw
back:
# image: befair/sbcatalog-back:latest
build: ./api/
volumes:
- ./api:/code/api:ro
depends_on:
- db
env_file: ./settings.env
db:
image: mongo:latest