-
Notifications
You must be signed in to change notification settings - Fork 2
/
devbox_config.yaml
56 lines (52 loc) · 993 Bytes
/
devbox_config.yaml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
galaxy_role_file: requirements.yml
# galaxy_roles_path: ~/.ansible/roles
# debug: true
# Load balancer server defaults.
lb_serve_defaults: &lb_server
name: devbox_lb
hostname: devbox-lb
group: lb
forward_ports:
- guest: 80
host: 8000
- guest: 443
host: 44300
# Application server defaults.
www_server_defaults: &www_server
name: devbox_www
hostname: devbox-www
group: www
forward_ports:
- guest: 80
host: 8000
folders:
- map: ./public
to: /var/www/public
owner: root
group: www-data
dmode: 775
fmode: 664
create: true
# Database server defaults.
db_serve_defaults: &db_server
name: devbox_db
hostname: devbox-db
group: db
forward_ports:
- guest: 3306
host: 33060
os: ubuntu
os_version: '18.04'
cpus: 2
memory: 4096
# Servers to configure.
servers:
- <<: *lb_server
ip: '192.168.2.41'
- <<: *www_server
ip: '192.168.2.42'
- <<: *www_server
ip: '192.168.2.43'
- <<: *db_server
ip: '192.168.2.44'