Sign inSign up

fastsol/lap7-zts

By fastsol

•Updated over 6 years ago

Linux, Apache2, PHP7 (with ZTS)

Image
0

1.0K

fastsol/lap7-zts repository overview

⁠Linux, Apache2, PHP7 (with ZTS)

⁠full stack example (docker-compose)

version: '2'

services:
  lap7:
    image: fastsol/lap7-zts:php7.4
    links:
      - mysql:mysql
      - redis:redis
    ports:
      - 127.0.0.1:2104:80
    volumes:
      - ./general_data/www:/var/www
      - ./general_data/apache2:/etc/apache2
    depends_on:
      - mysql
      - redis
    restart: always
  mysql:
    image: mysql:5
    environment:
      MYSQL_ROOT_PASSWORD: Sup3RS3curePassw0rd
      TZ: Europe/Moscow
    volumes:
      - ./service_data/dbdata:/var/lib/mysql
    ports:
       - 2004:3306
    restart: always
  redis:
    image: redis:5-alpine
    command: ["redis-server", "--appendonly", "yes"]
    volumes:
      - ./service_data/redisdata:/data
    restart: always

After start you need edit ./general_data/apache2 configs for your needs.

Tag summary

Content type

Image

Digest

Size

213 MB

Last updated

about 7 years ago

docker pull fastsol/lap7-zts