Skip to content

Instantly share code, notes, and snippets.

@DonSYS91
Last active October 30, 2022 22:10
Show Gist options
  • Save DonSYS91/9ced3732eb32ecac31dbb9fe5e226b09 to your computer and use it in GitHub Desktop.
Save DonSYS91/9ced3732eb32ecac31dbb9fe5e226b09 to your computer and use it in GitHub Desktop.
Docker: Easy!Appointments
{
"name": "alextselegidis/easyappointments",
"version": "1.4.4",
"description": "Open Source Web Scheduler",
"homepage": "https://easyappointments.org",
"type": "project",
"license": "GPL-3.0",
"authors": [
{
"name": "Alex Tselegidis",
"email": "alextselegidis@gmail.com"
}
],
"support": {
"issues": "https://github.com/alextselegidis/easyappointments/issues",
"forum": "https://groups.google.com/forum/#!forum/easy-appointments",
"wiki": "https://easyappointments.org/docs",
"source": "https://github.com/alextselegidis/easyappointments"
},
"keywords": [
"calendar",
"scheduler",
"appointments",
"events",
"dates",
"google",
"services"
],
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"EA\\Engine\\": "engine/"
}
},
"require": {
"php": ">=7.3",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"ext-gd": "*",
"gregwar/captcha": "^1.1",
"phpmailer/phpmailer": "^6.1",
"jsvrcek/ics": "^0.8",
"monolog/monolog": "^1",
"google/apiclient": "^2.0"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^9"
},
"scripts": {
"test": "php vendor/bin/phpunit tests"
}
}
version: "3.1"
networks:
DockerBridge01:
external: true
services:
server:
build: ./server
image: easyappointments-server:v1
container_name: easyappointments-server
ports:
- "8000:80"
volumes:
- ../:/var/www/html
- ./server/php.ini:/usr/local/etc/php/conf.d/99-overrides.ini
networks:
DockerBridge01:
ipv4_address: 172.18.0.4
FROM php:7.4-apache
WORKDIR /var/www/html
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd gettext mysqli pdo_mysql
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
RUN a2enmod rewrite
# Copy app
COPY --from=composer:2.2.3 /usr/bin/composer /usr/local/bin/composer
## Launch Composer installation
RUN composer install \
--no-interaction \
--ignore-platform-reqs \
--no-plugins \
--no-scripts \
--prefer-dist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment