mirror of https://github.com/yandex/odyssey.git
29 lines
574 B
YAML
29 lines
574 B
YAML
version: '3'
|
|
|
|
services:
|
|
odyssey:
|
|
build:
|
|
dockerfile: ./docker/Dockerfile
|
|
context: .
|
|
environment:
|
|
CMAKE_BUILD_TYPE: "${CMAKE_BUILD_TYPE:-Release}"
|
|
ports:
|
|
- "6432:6432"
|
|
volumes:
|
|
- ./odyssey.conf:/etc/odyssey.conf
|
|
- ..:/odyssey
|
|
|
|
dev:
|
|
build:
|
|
dockerfile: ./docker/dev/Dockerfile
|
|
context: .
|
|
security_opt: # options needed for gdb debugging
|
|
- seccomp:unconfined
|
|
- apparmor:unconfined
|
|
container_name: odyssey_dev
|
|
ports:
|
|
- "7776:22"
|
|
- "7777:7777"
|
|
volumes:
|
|
- .:/code
|