default_vars.py 1.09 KB
Newer Older
1
from os import path
2

3
from fabric.api import env
4
5


6
# Project settings
7

8
9
10
11
env.project_name = ''
env.workspace = path.join(path.dirname(__file__), path.pardir)
env.interactive_mode = True
env.locale = False
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
# Site

env.site_root = '{}/src/drupal'.format(env.workspace)
env.site_name = ''
env.site_environment = 'local'
env.site_profile = ''
env.site_profile_repo = ''
env.site_profile_makefile = ''
env.site_db_user = 'dev'
env.site_db_pass = 'dev'
env.site_db_host = 'localhost'
env.site_db_name = ''
env.site_hostname = ''
env.site_admin_user = 'admin'
env.site_admin_pass = 'admin'
env.site_subdir = 'default'


# Docker

env.docker_workspace = '/opt/sfl'
env.docker_site_root = '{}/src/drupal'.format(env.docker_workspace)
env.bind_port = 8001
env.apache_user = 'www-data'
38
39
40

# Docker auto-added container IP
env.container_ip = '172.17.0.0'
41
42
43


# Hook commands
44

45
46
env.hook_post_install = ['drush fra -y', 'drush cc all']
env.hook_post_update = ['drush fra -y', 'drush cc all']
Ernesto Rodriguez Ortiz's avatar
Ernesto Rodriguez Ortiz committed
47
48
49
50
51
52
53
54


# Aegir

env.aegir_server = 'local.aegir.sfl'
env.aegir_user = 'aegir'
env.aegir_path = '/var/aegir'
env.aegir_dest_server = 'server_master'