Skip to content
Carlos Brandt edited this page Aug 6, 2016 · 22 revisions

# DaCHS on Docker

Here go the lines about encapsulating DaCHS in Docker container(s).

Dachs is composed by two living blocks: (1) the data access interface consulting (2) a Postgres database. Not all data is stored in the sql-db, but instead reside in files within Dachs directories tree. Typically, those files -- which we can say _connect_ both running blocks -- are placed inside Dachs's GAVO_ROOT/inputs.

A very relevant point is to have a way to persist data and keep datasets separated.

The files structure of Dachs follows:

/var/gavo
├── cache
├── etc
│   ├── defaultmeta.txt
│   ├── dsn
│   ├── feed
│   ├── trustedquery
│   ├── untrustedquery
│   └── userconfig.rd
├── inputs
│   ├── DATASET_1
│   │   ├── data
│   │   └── q.rd
│   └── DATASET_2
│       ├── data
│       └── q.rd
├── logs
├── state
│   └── uwsjobs
├── tmp
└── web
    ├── nv_static
    │   └── img
    └── templates
        └── root.html
Clone this wiki locally