-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
33 lines (33 loc) · 992 Bytes
/
docker-compose.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
services:
apt-cache:
image: sameersbn/apt-cacher-ng:latest
container_name: apt-cacher-ng
restart: always
ports:
- "3142:3142"
volumes:
- ./_apt_cache:/var/cache/apt-cacher-ng
- ./etc/acng.conf:/etc/apt-cacher-ng/acng.conf
linux-dev-desktop:
network_mode: "host"
volumes:
- ./_data/${MYUSERNAME}/git-repos:/home/${MYUSERNAME}/git-repos
- ./_data/${MYUSERNAME}/mozilla:/home/${MYUSERNAME}/.mozilla
- ${USERPROFILE}/.gitconfig:/home/${MYUSERNAME}/.gitconfig
- ${USERPROFILE}/.ssh:/home/${MYUSERNAME}/.ssh
- ./_data/etc_ssh:/etc/ssh
- ./etc/sshd_config:/etc/ssh/sshd_config
container_name: linux-dev-desktop
build:
context: .
args:
USERNAME: ${MYUSERNAME}
PASSWORD: ${PASSWORD}
CACHE_URL: ${CACHE_URL}
restart: always
depends_on:
- apt-cache
environment:
- USERNAME=${MYUSERNAME}
- MYUSERNAME=${MYUSERNAME}
- PASSWORD=${PASSWORD}