dotfiles/docker-compose.yml

65 lines
1.3 KiB
YAML
Raw Normal View History

2020-11-30 10:31:22 +00:00
version: '3.9'
services:
alpine:
build:
context: .
dockerfile: Dockerfile.alpine
image: blink-dotfiles:alpine
environment:
- SSH_USER=blink
- SSH_PASSWORD=blnik
user: ${SSH_USER}
volumes:
- .:/usr/src/blink-dotfiles
ports:
- 0.0.0.0:22022:22/tcp
- 0.0.0.0:22022:22022/udp
debian:
build:
context: .
dockerfile: Dockerfile.debian
image: blink-dotfiles:debian
environment:
- SSH_USER=blink
- SSH_PASSWORD=blnik
user: ${SSH_USER}
volumes:
- .:/usr/src/blink-dotfiles
ports:
- 0.0.0.0:22022:22/tcp
- 0.0.0.0:22022:22022/udp
ubuntu:
build:
context: .
dockerfile: Dockerfile.ubuntu
image: blink-dotfiles:ubuntu
environment:
- SSH_USER=blink
- SSH_PASSWORD=blnik
user: ${SSH_USER}
volumes:
- .:/usr/src/blink-dotfiles
ports:
- 0.0.0.0:22022:22/tcp
- 0.0.0.0:22022:22022/udp
brew:
build:
context: .
dockerfile: Dockerfile.debian-brew
image: blink-dotfiles:debian-brew
environment:
- SSH_USER=blink
- SSH_PASSWORD=blnik
user: ${SSH_USER}
volumes:
- .:/usr/src/blink-dotfiles
ports:
- 0.0.0.0:22022:22/tcp
- 0.0.0.0:22022:22022/udp