forked from ADicksonLab/wepy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlxdock.yaml
42 lines (33 loc) · 782 Bytes
/
lxdock.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
name: wepy
# SNIPPET: If you want to do it from scratch use this:
# server: https://images.linuxcontainers.org/
# image: ubuntu/bionic
# if you have a preferred dev env image use this
image: dev-env_humvee
mode: local
# SNIPPET
# profiles:
# - default
# - dev
users:
- name: salotz
home: /home/salotz
password: $6$lZKBQ/eOBzntgg8j$QlbpSwx4tr5IOfYV7GdfKtLXB0BB8AjXeTBa6h.XCCp/seKj207okOpK0ZHq2mwFxlyOrFmVfs5ak77ec/y1f1 # password: 'password'
shell:
user: salotz
home: /home/salotz
environment:
LC_ALL: en_US.utf8
SHELL: /bin/bash
lxc_config:
limits.processes: '200'
limits.memory: '524288000'
limits.cpu: '2'
provisioning:
- type: shell
side: guest
script: provision-lxd.sh
containers:
- name: dev
hostnames:
- wepy.dev.lxd