forked from vPackets/DOCKER-Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Docker-compose.yml
38 lines (31 loc) · 798 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
36
37
38
version: '3.7'
services:
devops:
container_name: vpackets-tools
build: .
tty: true
restart: always
volumes:
- /Users/nic/code/:/home/nic/code/
- /Users/nic/Code/DOCKER - Tools/Ansible/Ansible_variables:/home/nic/ansible
hostname: vpackets-tools
nginx:
container_name: vpackets-nginx
image: nginx:latest
tty: true
restart: always
volumes:
- /Users/nic/code/DOCKER - Tools/www:/usr/share/nginx/html
ports:
- "8080:80"
sftp:
container_name: vpackets-sftp
image: atmoz/sftp
tty: true
restart: always
volumes:
- /Users/nic/code/DOCKER - Tools/sftp:/home/nic/sftp
- /Users/nic/.ssh/id_rsa.pub:/home/nic/.ssh/keys/id_rsa.pub
ports:
- "2222:22"
command: nic:password:1001