version: '3.8'
services:
sekrit:
build: .
container_name: sekrit
volumes:
- .:/data
working_dir: /data
stdin_open: true
tty: true
profiles:
- tools
# Development service with source mounted
sekrit-dev:
build:
context: .
target: builder
container_name: sekrit-dev
volumes:
- .:/app
- cargo-cache:/usr/local/cargo/registry
working_dir: /app
stdin_open: true
tty: true
command: bash
profiles:
- dev
volumes:
cargo-cache: