28 lines
949 B
YAML
Raw Normal View History

# Copyright 2021 Collate
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
2021-08-02 15:08:30 +05:30
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
2021-08-01 14:27:44 -07:00
version: "3.9"
services:
db:
image: mysql/mysql-server:latest
2021-08-01 14:27:44 -07:00
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: catalog_user
MYSQL_PASSWORD: catalog_password
MYSQL_DATABASE: catalog_test
volumes:
- ./setup/setup.sql:/docker-entrypoint-initdb.d/setup.sql
expose:
- 3306
ports:
- 3307:3306