Sign inSign up

tractr/directus-sync

By tractr

Updated 5 months ago

Extends official Directus Docker images with pre-installed directus-extension-sync

Image
1

10K+

tractr/directus-sync repository overview

Docker image

This Docker image extends the official Directus Docker images with the extension directus-extension-sync pre-installed.

It can be used to quickly set up a Directus instance to use with the directus-sync CLI.

The directus-sync command-line interface (CLI) provides a set of tools for managing and synchronizing the schema and collections within Directus across different environments.

Usage

Run with Docker Compose

Create a docker-compose.yml file with the following content:

version: '3.8'

services:
  directus:
    image: tractr/directus-sync:latest
    restart: unless-stopped
    ports:
      - '8055:8055'
    environment:
      KEY: 'XXXXXXXX'
      SECRET: 'XXXXXXXX'
      ADMIN_EMAIL: '[email protected]'
      ADMIN_PASSWORD: 'password'

Then, run:

docker-compose up -d
Run with Docker

Run the following command:

docker run -d -p 8055:8055 \
    -e KEY=XXXXXXXX \
    -e SECRET=XXXXXXXX \
    -e [email protected] \
    -e ADMIN_PASSWORD=password \
    tractr/directus-sync:latest

Tag summary

Content type

Image

Digest

sha256:a10551c01

Size

227.5 MB

Last updated

5 months ago

docker pull tractr/directus-sync