Installer: refactor file generation, improved ng-ui and light-ui separation, fixes...
[osm/devops.git] / installers / docker / osm_pla / docker-compose.yaml
1 ##
2 # Copyright 2019 ETSI
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 # not use this file except in compliance with the License. You may obtain
6 # a copy of the License at
7 #
8 #         http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 # License for the specific language governing permissions and limitations
14 # under the License.
15 ##
16
17 ########################################################################
18
19 version: '3'
20 networks:
21   netOSM:
22     external:
23       name: ${OSM_NETWORK:-netosm}
24     #driver: overlay
25     #driver_opts:
26     #  com.docker.network.driver.mtu: "1446"
27 services:
28   pla:
29     image: ${DOCKER_USER:-opensourcemano}/pla:${TAG:-8}
30     networks:
31       - netOSM
32     logging:
33       driver: "json-file"
34       options:
35         max-file: 5
36         max-size: 10m