Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / csit / scripts / sdnr / docker-compose / docker-compose-sdnrdb-mariadb.yaml
1 # *******************************************************************************
2 # * ============LICENSE_START========================================================================
3 # * Copyright (C) 2021 highstreet technologies GmbH Intellectual Property. All rights reserved.
4 # * =================================================================================================
5 # * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
6 # * in compliance with the License. You may obtain 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 distributed under the License
11 # * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12 # * or implied. See the License for the specific language governing permissions and limitations under
13 # * the License.
14 # * ============LICENSE_END==========================================================================
15 version: "2.2"
16 services:
17   sdnrdb:
18     image: ${MARIADB_IMAGE}:${MARIADB_VERSION}
19     container_name: sdnrdb
20     ports:
21       - 3306:3306
22     environment:
23       - MARIADB_ROOT_PASSWORD=admin
24       - MARIADB_DATABASE=sdnrdb
25       - MARIADB_USER=sdnrdb
26       - MARIADB_PASSWORD=sdnrdb
27       - MARIADB_EXTRA_FLAGS=--bind-address=* --max_connections=400
28       - MYSQL_ROOT_PASSWORD=admin
29       - MYSQL_DATABASE=sdnrdb
30       - MYSQL_USER=sdnrdb
31       - MYSQL_PASSWORD=sdnrdb
32     networks:
33       integration:
34         ipv4_address: ${MARIADB_IP}
35       
36 networks:
37   integration:
38     name: ${NETWORK_NAME}
39     driver: bridge
40     ipam:
41       driver: default
42       config:
43       - subnet: ${NETWORK_SUBNET}
44         gateway: ${GATEWAY_IP}