mirror of
https://github.com/Portabase/agent.git
synced 2026-09-10 10:08:01 +00:00
f37e4d2de9
* feat: add firebird * feat: add firebird tests * fix: tests and refactoring, add justfile instead of makefile
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
services:
|
|
rust-app:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/Dockerfile
|
|
target: dev
|
|
container_name: rust-dev
|
|
volumes:
|
|
- .:/app
|
|
- cargo-registry:/usr/local/cargo/registry
|
|
- cargo-git:/usr/local/cargo/git
|
|
- ./databases.json:/config/config.json
|
|
#- ./databases.toml:/config/config.toml
|
|
#- /var/run/docker.sock:/var/run/docker.sock
|
|
#- cargo-target:/app/target
|
|
#- agent-rust_sqlite-data:/sqlite-data/workspace/data
|
|
#- ./scripts/sqlite/test-db:/sqlite-data-2/workspace/data
|
|
environment:
|
|
APP_ENV: development
|
|
LOG: debug
|
|
TZ: "Europe/Paris"
|
|
EDGE_KEY: "eyJzZXJ2ZXJVcmwiOiJodHRwOi8vbG9jYWxob3N0Ojg4ODciLCJhZ2VudElkIjoiOWRjZjYzNzQtZTc5ZC00MzU5LTkwMTYtNjA0OTQ2NDNhNjEwIiwibWFzdGVyS2V5QjY0IjoiQlhWM1hvbEM2NTZTVjdkTmdjV1BHUWxrKytycExJNmxHRGk3Q1BCNWllbz0ifQ=="
|
|
#POOLING: 1
|
|
DATABASES_CONFIG_FILE: "config.toml"
|
|
extra_hosts:
|
|
- "localhost:host-gateway"
|
|
networks:
|
|
- portabase
|
|
|
|
volumes:
|
|
cargo-registry:
|
|
cargo-git:
|
|
#cargo-target:
|
|
# agent-rust_sqlite-data:
|
|
# external: true
|
|
|
|
|
|
|
|
networks:
|
|
portabase:
|
|
name: portabase_network
|
|
external: true
|
|
|