/tiivistamo

Tiivistämö

Primary LanguagePHPOtherNOASSERTION

DockerPress

A Dockerrrrizzzed WordPress installation. This framework provides you with a PHP, MariaDB, NGINX stack all pre configured to work out the box.

Requirements

Deployment

Eventually deployments will happen automatically when code is pushed to the master branch, but this is not yet the case.

See this Confluence page for more details.

To set up CircleCI from scratch, follow the Confluence page instructions and define the following env vars in CircleCI:

DOCKERHUB_REPO
DOCKER_PASS
DOCKER_USER
DROPLET_IP
DROPLET_USER
WP_THEME_NAME

Usage

Head into the app readme to begin.

Persistent storage

The /data folder holds persistent data such as databases. We could also use this folder to store logs etc.

Database

There is a phpMyAdmin container running to give you a database management tool. This can be accessed from http://NAME.em87.io:8080

The database is stored on the host machine at /data/mariadb

Credentials are stored /app/env/.env

Port 3306 is also exposed to your host so you can use connect to mysql locally if desired.

Useful

Contributors

  • Paul Stewart
  • Jaakko Alajoki
  • Juha Lehtonen
  • Pekka Wallenius
  • Tuomas Hirvonen
  • Joonas Pyhtilä