Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: "3.1"
services:
memcached:
image: memcached:alpine
container_name: moodle-38-memcached
ports:
- 11211:11211
# para debug del mail
# mailhog:
# image: mailhog/mailhog:latest
# container_name: moodle-38-mailhog
# ports:
# - "8081:8025"
# en caso de necesitar base de datos. generalmente uso externa al server docker
# postgres:
# image: postgres:11.1-alpine
# container_name: moodle-38-postgres
# working_dir: /datos/docker/m38
# volumes:
# - ./pgdata:/application
# environment:
# - POSTGRES_USER=postgres
# - POSTGRES_PASSWORD=clave
# - POSTGRES_DB=basededatosmoodle
# ports:
# - "54321:5432"
webserver:
image: thecodingmachine/php:7.2-v2-apache
container_name: moodle-38-webserver
working_dir: /datos/webs/moodle
volumes:
- ./:/var/www/html
- ./moodledata:/var/www/moodledata
# - ./apache2/apache2/:/etc/apache2/
# ports:
# - "8080:80"
environment:
PHP_EXTENSION_PGSQL: 1
PHP_EXTENSION_GD: 1
PHP_EXTENSION_INTL: 1
PHP_EXTENSION_XMLRPC: 1
PHP_INI_UPLOAD_MAX_FILESIZE: 20M
PHP_INI_POST_MAX_SIZE: 24M
PHP_INI_UPLOAD_TMP_DIR: /tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.