First Commit
This commit is contained in:
43
.gitignore
vendored
Normal file
43
.gitignore
vendored
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# GitIgnoreFile
|
||||||
|
|
||||||
|
# Created by https://www.toptal.com/developers/gitignore/api/codeigniter
|
||||||
|
# Edit at https://www.toptal.com/developers/gitignore?templates=codeigniter
|
||||||
|
|
||||||
|
### CodeIgniter ###
|
||||||
|
*/config/development
|
||||||
|
*/logs/log-*.php
|
||||||
|
!*/logs/index.html
|
||||||
|
*/cache/*
|
||||||
|
!system/cache/*
|
||||||
|
!*/cache/index.html
|
||||||
|
!*/cache/.htaccess
|
||||||
|
|
||||||
|
user_guide_src/build/*
|
||||||
|
user_guide_src/cilexer/build/*
|
||||||
|
user_guide_src/cilexer/dist/*
|
||||||
|
user_guide_src/cilexer/pycilexer.egg-info/*
|
||||||
|
|
||||||
|
#codeigniter 3
|
||||||
|
src/application/logs/*
|
||||||
|
!application/logs/index.html
|
||||||
|
!application/logs/.htaccess
|
||||||
|
!application/logs/.php
|
||||||
|
#src/vendor/
|
||||||
|
src/application/config/
|
||||||
|
src/application/application/logs/
|
||||||
|
src/logs/
|
||||||
|
|
||||||
|
### CodeIgniter Patch ###
|
||||||
|
|
||||||
|
# End of https://www.toptal.com/developers/gitignore/api/codeigniter
|
||||||
|
/_docker
|
||||||
|
/*.env
|
||||||
|
/*.json
|
||||||
|
/*.lock
|
||||||
|
*.log
|
||||||
|
/*.yml
|
||||||
|
/_docker
|
||||||
|
/.env
|
||||||
|
/composer.json
|
||||||
|
/composer.lock
|
||||||
|
/docker-compose.yml
|
||||||
34
Dockerfile
34
Dockerfile
@@ -12,26 +12,26 @@ RUN echo "Asia/Jakarta" > /etc/timezone
|
|||||||
RUN apk add --no-cache nginx supervisor
|
RUN apk add --no-cache nginx supervisor
|
||||||
|
|
||||||
# Install prerequisites required for tools and extensions installed later on.
|
# Install prerequisites required for tools and extensions installed later on.
|
||||||
RUN apk add --update bash gnupg less libpng-dev libzip-dev su-exec unzip
|
# RUN apk add --update bash gnupg less libpng-dev libzip-dev su-exec unzip
|
||||||
|
|
||||||
# Install prerequisites for the sqlsrv and pdo_sqlsrv PHP extensions.
|
# # Install prerequisites for the sqlsrv and pdo_sqlsrv PHP extensions.
|
||||||
RUN curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.2.1-1_amd64.apk \
|
# RUN curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.2.1-1_amd64.apk \
|
||||||
&& curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/mssql-tools18_18.3.1.1-1_amd64.apk \
|
# && curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/mssql-tools18_18.3.1.1-1_amd64.apk \
|
||||||
&& curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.2.1-1_amd64.sig \
|
# && curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.2.1-1_amd64.sig \
|
||||||
&& curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/mssql-tools18_18.3.1.1-1_amd64.sig \
|
# && curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/mssql-tools18_18.3.1.1-1_amd64.sig \
|
||||||
&& curl https://packages.microsoft.com/keys/microsoft.asc | gpg --import - \
|
# && curl https://packages.microsoft.com/keys/microsoft.asc | gpg --import - \
|
||||||
&& gpg --verify msodbcsql18_18.3.2.1-1_amd64.sig msodbcsql18_18.3.2.1-1_amd64.apk \
|
# && gpg --verify msodbcsql18_18.3.2.1-1_amd64.sig msodbcsql18_18.3.2.1-1_amd64.apk \
|
||||||
&& gpg --verify mssql-tools18_18.3.1.1-1_amd64.sig mssql-tools18_18.3.1.1-1_amd64.apk \
|
# && gpg --verify mssql-tools18_18.3.1.1-1_amd64.sig mssql-tools18_18.3.1.1-1_amd64.apk \
|
||||||
&& apk add --allow-untrusted msodbcsql18_18.3.2.1-1_amd64.apk mssql-tools18_18.3.1.1-1_amd64.apk \
|
# && apk add --allow-untrusted msodbcsql18_18.3.2.1-1_amd64.apk mssql-tools18_18.3.1.1-1_amd64.apk \
|
||||||
&& rm *.apk *.sig
|
# && rm *.apk *.sig
|
||||||
|
|
||||||
# Retrieve the script used to install PHP extensions from the source container.
|
# # Retrieve the script used to install PHP extensions from the source container.
|
||||||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions
|
# COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions
|
||||||
|
|
||||||
# Install required PHP extensions and all their prerequisites available via apt.
|
# # Install required PHP extensions and all their prerequisites available via apt.
|
||||||
RUN chmod uga+x /usr/bin/install-php-extensions \
|
# RUN chmod uga+x /usr/bin/install-php-extensions \
|
||||||
&& sync \
|
# && sync \
|
||||||
&& install-php-extensions bcmath ds exif gd intl opcache pcntl pdo_sqlsrv redis sqlsrv zip
|
# && install-php-extensions bcmath ds exif gd intl opcache pcntl pdo_sqlsrv redis sqlsrv zip
|
||||||
|
|
||||||
# Install PHP Extensions
|
# Install PHP Extensions
|
||||||
RUN set -ex && apk --no-cache add icu-dev postgresql-dev
|
RUN set -ex && apk --no-cache add icu-dev postgresql-dev
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
build: .
|
build: .
|
||||||
container_name: gomed
|
container_name: eletter
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./src:/app
|
- ./src:/app
|
||||||
@@ -20,7 +20,7 @@ services:
|
|||||||
# environment:
|
# environment:
|
||||||
# - "APP_PORT=8080"
|
# - "APP_PORT=8080"
|
||||||
ports:
|
ports:
|
||||||
- "8081:80"
|
- "8061:80"
|
||||||
# networks:
|
# networks:
|
||||||
# - bridge2
|
# - bridge2
|
||||||
# networks:
|
# networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user