Public Repository

Last pushed: 3 months ago
Short Description
image for slim 3 framework. installed php 7.1.6
Full Description

for using with docker-compose, you can make a docker-composer.yml like below:

version: '2'

services: 
  php:
    build: 
      context: .
      args:
        - DB_NAME=$DB_NAME
        - DB_USER=$DB_USER
        - DB_PASSWORD=$DB_PASSWORD
        - DB_HOST=$DB_HOST
        - JWT_SECRET=$JWT_SECRET
        - BASE_URL= $BASE_URL
        - RELAXED=$RELAXED
        - MIDDLE_URL=$MIDDLE_URL
    expose: 
      - "80"
  mysql: 
    image: mysql:5.6.23
    env_file:
      - .env

you can download Dockerfile and docker-compose.yml from https://github.com/sinuraya/slim-php7

Docker Pull Command
Owner
sinuraya

Comments (0)