mirror of
https://github.com/vmorganp/Lazytainer.git
synced 2025-12-21 13:23:02 +01:00
28 lines
538 B
YAML
28 lines
538 B
YAML
version: "3"
|
|
services:
|
|
whoami:
|
|
container_name: whoami
|
|
build: .
|
|
# image: sandman
|
|
environment:
|
|
- PORT=81
|
|
- LABEL=sandman
|
|
ports:
|
|
- 81:81
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
# command: tail -F asdf
|
|
# command: /bin/sh /get_stats.sh
|
|
|
|
whoami2:
|
|
container_name: whoami2
|
|
image: containous/whoami
|
|
command: --port 81
|
|
network_mode: service:whoami
|
|
depends_on:
|
|
- whoami
|
|
# ports:
|
|
# - 80:80
|
|
labels:
|
|
- "com.sandman.marker=sandman" |