Repositório da imagem oficial para ambiente de produção
3.3K
Mantido por: Amais Educação
| bcmath | bz2 | calendar | curl | exif | fileinfo | filter | ftp | gd | hash | intl | json | libxml | sqlsrv |
| mbstring | mongodb | mysqli | mysqlnd | openssl | PDO | pdo_mysql | pdo_sqlite | redis | sockets | Zend OPcache | zip | zlib | pdo_sqlsrv |
version: '3.9'
services:
portal:
container_name: portal
image: sreamais/web-portal:latest
restart: unless-stopped
volumes:
- ./image-files/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./image-files/etc/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf
- ./image-files/usr/local/etc/php/php.ini:/usr/local/etc/php/php.ini
- ./image-files/usr/local/etc/php-fpm.d/www.conf:/usr/local/etc/php-fpm.d/www.conf
- ./var/www/html
- ./xdebug:/var/logs/xdebug
external_links:
- mysql
- redis
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "80:80"
working_dir: /var/www/html
deploy:
resources:
limits:
memory: 2GB
reservations:
memory: 512M
networks:
default:
external: true
name: uni_network
FROM sreamais/web-portal:latest
# Atualiza o índice de pacotes e instala as dependências necessárias
RUN apk --no-cache update && \
apk --no-cache upgrade && \
rm -rf /var/cache/apk/*
# Instalação da extensão Xdebug
RUN pecl install xdebug-3.1.6 && \
docker-php-ext-enable xdebug
# Instala o Composer globalmente
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
# Crie o diretório para armazenar os arquivos do aplicativo
WORKDIR /var/www/html
Abaixo é mostrado os caminhos das configurações das ferramentas instaladas.
Content type
Image
Digest
sha256:f5d0424c6…
Size
204.5 MB
Last updated
about 2 years ago
docker pull sreamais/web-portal