mirror of
https://github.com/vmorganp/Lazytainer.git
synced 2026-01-03 11:24:52 +01:00
prototype, todolist, uber basic docs
This commit is contained in:
@@ -1,27 +1,24 @@
|
||||
version: "3"
|
||||
services:
|
||||
whoami:
|
||||
container_name: whoami
|
||||
sandman:
|
||||
container_name: sandman
|
||||
build: .
|
||||
# image: sandman
|
||||
environment:
|
||||
- PORT=81
|
||||
- LABEL=sandman
|
||||
- PORT=81 # TODO make this work with more than one port
|
||||
- LABEL=sandman # sandman checks
|
||||
- TIMEOUT=30 # number of seconds to let container idle
|
||||
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
|
||||
network_mode: service:sandman
|
||||
depends_on:
|
||||
- whoami
|
||||
- sandman
|
||||
# ports:
|
||||
# - 80:80
|
||||
labels:
|
||||
|
||||
Reference in New Issue
Block a user