mirror of
https://github.com/Portabase/agent.git
synced 2026-09-10 01:57:10 +00:00
14068846b9
* fix: s3 port type mismatch, add string_or_number_to_string deserializer * chore: docker-compose.databases.yml * fix: tests and refactoring, add justfile instead of makefile * fix: restoration process for postgres/mysql and mariadb * fix: restoration process for postgres/mysql and mariadb * fix: postgres restore * fix: mariadb/mysql restore, added backticks to drop command * fix: mongodb and migration test for firebird * fix: docker-compose.yml --------- Co-authored-by: charlesgauthereau <charles.gauthereau@soluce-technologies.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 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
|
|
- databases_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: "eyJzZXJ2ZXJVcmwiOiJodHRwOi8vbG9jYWxob3N0Ojg4ODciLCJhZ2VudElkIjoiOTFlYmY4MmYtY2I4OC00N2M3LWE5MWUtMDUyMmU2NzNjZjE4IiwibWFzdGVyS2V5QjY0IjoiQlhWM1hvbEM2NTZTVjdkTmdjV1BHUWxrKytycExJNmxHRGk3Q1BCNWllbz0ifQ=="
|
|
#CHUNK_SIZE_MB: "1"
|
|
#POOLING: 1
|
|
#DATABASES_CONFIG_FILE: "config.toml"
|
|
extra_hosts:
|
|
- "localhost:host-gateway"
|
|
networks:
|
|
- portabase
|
|
|
|
volumes:
|
|
cargo-registry:
|
|
cargo-git:
|
|
#cargo-target:
|
|
databases_sqlite-data:
|
|
external: true
|
|
|
|
networks:
|
|
portabase:
|
|
name: portabase_network
|
|
external: true
|
|
|