forked from anmolnagpal/devops-machine
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
executable file
·35 lines (35 loc) · 1016 Bytes
/
docker-compose.yml
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
services:
devops:
container_name: devops
image: ghcr.io/clouddrove/devops-machine
platform: ${PLATFORM}
mem_limit: 3g
memswap_limit: 3g
cpu_shares: 30
privileged: true
ports:
- "1310:22" # ssh
volumes:
- ./bin/devops:/image/
- ~/Workspace/data/log:/var/log/
- ./bin/devops/etc/zshrc:/home/ubuntu/.zshrc
- ./bin/devops/etc/zsh/aliases.conf:/home/ubuntu/.aliases
- ./bin/devops/etc/zsh/extra.conf:/home/ubuntu/.extra
- ~/Workspace:/home/ubuntu/workspace
- ~/.ssh:/home/ubuntu/.ssh
- ~/.aws:/home/ubuntu/.aws
- ~/.zsh_history:/home/ubuntu/.zsh_history
- ~/.gitconfig:/home/ubuntu/.gitconfig
- ~/.kube:/home/ubuntu/.kube
- ~/.azure:/home/ubuntu/.azure
- ~/.config/gcloud:/home/ubuntu/.config/gcloud
networks:
dev_net_devops:
ipv4_address: 10.13.0.13
networks:
dev_net_devops:
driver: bridge
ipam:
config:
- subnet: 10.13.0.0/16
gateway: 10.13.0.1