prototype, todolist, uber basic docs

This commit is contained in:
Morgan Patterson
2021-10-13 02:38:04 -07:00
parent eac2fd1f51
commit 48dba8c435
6 changed files with 148 additions and 72 deletions

View File

@@ -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: