blob: 8456bbf046764ba2e9d5ebac3af2e62d4d2becc6 (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
##############################################################################
# Copyright (c) 2019 opnfv.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
version: '3'
services:
mongodb:
image: mongo:3.2.1
container_name: lfn-db
volumes:
- lfn-db:/data/db
expose:
- "27017"
webopnfv:
image: opnfv/dovetail-webportal-web:latest
container_name: web-opnfv
restart: always
env_file:
- config.env
- vhost-opnfv.env
volumes:
- lfn-testapi-logs:/home/testapi/logs
links:
- mongodb
- lfnapi
ports:
- "8000:8000"
webonap:
image: opnfv/dovetail-webportal-web-onap:latest
container_name: web-onap
restart: always
env_file:
- config.env
- vhost-onap.env
volumes:
- lfn-testapi-logs:/home/testapi/logs
links:
- mongodb
- lfnapi
ports:
- "8001:8000"
lfnapi:
image: opnfv/dovetail-webportal-api:latest
container_name: lfn-api
env_file:
- config.env
volumes:
- lfn-testapi-logs:/home/testapi/logs
- lfn-company-logos:/home/testapi/media/companies
ports:
- "8010:8010"
nginx:
image: jwilder/nginx-proxy
container_name: lfn-nginx
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx-proxy/custom_proxy_settings.conf:/etc/nginx/conf.d/custom_proxy_settings.conf
depends_on:
- webopnfv
- webonap
ports:
- "80:80"
volumes:
lfn-db:
lfn-company-logos:
lfn-testapi-logs:
|