-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample_docker.cfg
More file actions
27 lines (21 loc) · 957 Bytes
/
sample_docker.cfg
File metadata and controls
27 lines (21 loc) · 957 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
# dbd config
DBD_DATABASE_ID=database_name
DBD_API_KEY=randomkeyhere
DBD_URL=https://url.domain.com/guid/
DBD_CONNECTION_ID=main
# tables whose *records* should not be included in the cloned database, separated by commas
EXCLUDED_TABLES="table_to_exclude"
DESTINATION_TARGET="docker"
DESTINATION_DB_USER=root
DESTINATION_DB_PASS='my-secret-pw' # in single quotes for escaping special characters
# optional, you can force new database clones to have a name you set below
# WARNING (!!!) - this will first drop the database you specify below, and then recreate it
# use with caution
DATABASE_NAME=
# TAG to use, for mysql, get it from https://hub.docker.com/_/mysql?tab=tags&page=1&ordering=last_updated
# Examples: mysql:latest | mysql:5.7 | mysql:5.6 | mysql:5.5
DOCKER_TAG="mysql:5.7"
# should we spin a new docker instance?
DOCKER_NEW_INSTANCE=true
# if not spinning a new instance, specify the one to use
DOCKER_EXISTING_INSTANCE_NAME="mysql-5-7"