28 lines
627 B
YAML
28 lines
627 B
YAML
services:
|
|||
|
|
kode-viewer:
|
||
|
|
container_name: kode-viewer_container
|
||
|
|
hostname: kode-viewer
|
||
|
|
restart: always
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
args:
|
||
|
|
- PASSWORD=$PASSWORD_10000
|
||
|
|
volumes:
|
||
|
|
- ../receiver/flags/kode-viewer.txt:/flag.txt:ro
|
||
|
|
- ../utils/bashrc:/root/.bashrc:ro
|
||
|
|
- ../utils/preexec.sh:/root/.preexec.sh:ro
|
||
|
|
ports:
|
||
|
|
- "10000:3000"
|
||
|
|
- "10022:22"
|
||
|
|
extra_hosts:
|
||
|
|
- "host.docker.internal:host-gateway"
|
||
|
|
environment:
|
||
|
|
- REDIS_HOST=redis
|
||
|
|
- REDIS_PORT=6379
|
||
|
|
depends_on:
|
||
|
|
- redis
|
||
|
|
redis:
|
||
|
|
image: redis:alpine
|
||
|
|
volumes:
|
||
|
|
- ./redis-data:/data
|