Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
/ Saft-docker Public archive

docker-compose setup for Saft development. Includes a triple store, relational database, preeconfigured PHP with ODBC and so on.

Notifications You must be signed in to change notification settings

SaftIng/Saft-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Saft-docker

Usage

Adapt docker-compose.yml by changing the local path to your Saft files and override /app.

php:
        build: ./php
        links:
            - virtuoso
        ports:
            - 8001:80
        volumes:
            # please adapt path for local development
            - /path/to/your/local/Saft/folder:/app

Afterwards run:

docker-compose build

and

docker-compose up -d

to start container and let them run in background.

Log into main container

You can log into the running container by execute:

docker ps -a

(will show something like)

ONTAINER ID   IMAGE       COMMAND                 CREATED       STATUS       PORTS                NAMES
b5a8e4158e22  saft_php    "docker-php-entryp..."  12 hours ago  Up 12 hours  0.0.0.0:8001->80/tcp saft_php_1

look for the ID of the saft_php container (in the example its b5a...) and use the first 3 chars for the exec command:

docker exec -it b5a bash

You will jump directly into the main Saft container.

About

docker-compose setup for Saft development. Includes a triple store, relational database, preeconfigured PHP with ODBC and so on.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published