comment formatting

This commit is contained in:
vmorganp
2022-09-02 00:40:56 -07:00
parent 822d3eec6d
commit c70c2b3b02
3 changed files with 16 additions and 16 deletions

View File

@@ -21,12 +21,12 @@ $ docker-compose up
container_name: lazytainer
image: ghcr.io/vmorganp/lazytainer:master
environment:
- PORT=81 # comma separated list of ports...or just the one
- LABEL=lazytainer # value of lazytainer.marker for other containers that lazytainer checks
# - TIMEOUT=30 # OPTIONAL number of seconds to let container idle
# - MINPACKETTHRESH=10 # OPTIONAL number of packets that must be recieved to keepalive/start container
# - POLLRATE=1 # OPTIONAL number of seconds to sleep between polls
# - VERBOSE=true # probably set this to false unless you're debugging or doing the initial demo
- PORT=81 # comma separated list of ports...or just the one
- LABEL=lazytainer # value of lazytainer.marker for other containers that lazytainer checks
# - TIMEOUT=30 # OPTIONAL number of seconds to let container idle
# - MINPACKETTHRESH=10 # OPTIONAL number of packets that must be recieved to keepalive/start container
# - POLLRATE=1 # OPTIONAL number of seconds to sleep between polls
# - VERBOSE=true # probably set this to false unless you're debugging or doing the initial demo
ports:
- 81:81
volumes:
@@ -35,13 +35,13 @@ $ docker-compose up
whoami1:
container_name: whoami1
image: containous/whoami
command: --port 81 # make this run on the port passed through on lazytainer
command: --port 81 # make this run on the port passed through on lazytainer
network_mode: service:lazytainer
depends_on:
- lazytainer # wait for lazytainer to start before starting
labels:
- "lazytainer.marker=lazytainer" # required label to make it work
- "lazytainer.sleepMethod=stop" # can be either "stop" or "pause", or left blank for stop
- "lazytainer.marker=lazytainer" # required label to make it work
- "lazytainer.sleepMethod=stop" # can be either "stop" or "pause", or left blank for stop
```
## Configuration

View File

@@ -4,12 +4,12 @@ services:
container_name: lazytainer
image: ghcr.io/vmorganp/lazytainer:master
environment:
- PORT=81,82 # comma separated list of ports...or just the one
- LABEL=lazytainer # value of lazytainer.marker for other containers that lazytainer checks
- TIMEOUT=30 # OPTIONAL number of seconds to let container idle
- MINPACKETTHRESH=10 # OPTIONAL number of packets that must be recieved to keepalive/start container
- POLLRATE=1 # OPTIONAL number of seconds to sleep between polls
- VERBOSE=true # probably set this to false unless you're debugging or doing the initial demo
- PORT=81,82 # comma separated list of ports...or just the one
- LABEL=lazytainer # value of lazytainer.marker for other containers that lazytainer checks
- TIMEOUT=30 # OPTIONAL number of seconds to let container idle
- MINPACKETTHRESH=10 # OPTIONAL number of packets that must be recieved to keepalive/start container
- POLLRATE=1 # OPTIONAL number of seconds to sleep between polls
- VERBOSE=true # probably set this to false unless you're debugging or doing the initial demo
ports:
- 81:81
- 82:82

View File

@@ -17,7 +17,7 @@ services:
environment:
EULA: "TRUE"
TYPE: FTBA
FTB_MODPACK_ID: 79 # direwolf20 1.16
FTB_MODPACK_ID: 79 # direwolf20 1.16
# MEMORYSIZE: 15G
# MEMORY: 15G
restart: unless-stopped