Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 912 Bytes

README_docker.md

File metadata and controls

50 lines (30 loc) · 912 Bytes

publicmedia - docker

This is for managing php and Apache.

Getting started

Create an environment file for docker and docker compose and check the configuration.

cp default.env .env

Note: This file will not be under version control but listed in .gitignore.

Check for the existence of environment.prod.ts as described in publicmedia - frontend.

Check for the existence of config.prod.php as described in publicmedia - api.

Configuration

Table of contents

APACHE_PORT

Defines the port for APCHE

  • default: 80
  • type: string

MODE

Defines the mode using php

  • default: dev
  • type: string

Information

To work with the compose file use following commands.

# run compose file
docker compose up -d

# stop compose file
docker compose down