31 lines
585 B
YAML
31 lines
585 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
finish:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: finish:latest
|
|
container_name: finish
|
|
stdin_open: true
|
|
tty: true
|
|
volumes:
|
|
- finish-data:/root/.finish
|
|
environment:
|
|
- ACSH_ENDPOINT=http://plato.lan:1234/v1/chat/completions
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
command: /bin/bash
|
|
|
|
finish-test:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.test
|
|
image: finish:test
|
|
container_name: finish-test
|
|
volumes:
|
|
- .:/opt/finish
|
|
|
|
volumes:
|
|
finish-data:
|