Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 470 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 470 Bytes

Data Subfolder

This folder contains persistent data from containers, such as database files from a MongoDB container. In general, it should not contain configuration files. Please save configuration files into secrets/.

This folder is exposed as environment variable $DATA for Docker Compose files. Usage example:

services:
  mongo:
    image: mongo:7
    volumes:
      - $DATA/mongo:/data/db
    restart: unless-stopped