Sign inSign up

bludoc/tematres

By bludoc

Updated almost 4 years ago

This images holds the application TemaTres Vocabulary Server and populates a Docker volume with it.

Image
0

1.5K

bludoc/tematres repository overview

TemaTres docker-compose set up

This repository holds the configuration of the set up process for a fully working TemaTres instance using docker-compose.

After cloning the repository the file .env has to be modified to hold the supposed database configuration. The file should be pretty self explanatory. To start the application just issue the command

$ docker-compose up --detach
[...]

Configuration

The application will be served on http://localhost:9000 and store its data persistently in two docker volumes, one holding the database and one holding the application files and configuration.

Change volume type

To change the named volume to a bind volume sharing the files to the host file system change the following setting in the compose.yaml

# Start the php container with MySql extension installed.
app:
  ...
  volumes:
    - tematres:/var/www/html
  ...

to something like

# Start the php container with MySql extension installed.
app:
  ...
  volumes:
    - /path/to/your/host/folder:/var/www/html/
  ...

Tag summary

Content type

Image

Digest

Size

12.3 MB

Last updated

over 4 years ago

docker pull bludoc/tematres