Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
laravel-test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Александр Чаплыгин
laravel-test
Commits
5ce3ec67
Commit
5ce3ec67
authored
Jun 12, 2023
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add config files
parent
d19b6112
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
1 deletion
+50
-1
laravel-test.conf
_conf/nginx/sites/laravel-test.conf
+1
-1
Dockerfile
_images/fpm/Dockerfile
+13
-0
docker-compose.yml
docker-compose.yml
+34
-0
index.php
src/public/index.php
+2
-0
No files found.
_conf/nginx/sites/laravel-test.conf
View file @
5ce3ec67
upstream
laravel
-
test
-
backend
{
upstream
laravel
-
test
-
backend
{
server
php
-
neuro
-
images
:
9000
;
server
php
-
laravel
-
test
:
9000
;
}
}
server
{
server
{
...
...
_images/fpm/Dockerfile
0 → 100644
View file @
5ce3ec67
FROM
php:7.1-fpm
ENV
DEBIAN_FRONTEND=noninteractive
ENV
LANG=C.UTF-8
RUN
apt-get update
\
&&
apt-get
install
-y
libpcre3-dev zlib1g-dev libxml2-dev libfreetype6-dev libjpeg62-turbo-dev libpng-dev libmcrypt-dev
RUN
groupadd
--gid
1001 site
\
&&
useradd
--uid
1001
--gid
site
--no-create-home
--system
site
RUN
docker-php-ext-install
-j
$(
nproc
)
mysqli pdo_mysql opcache dom simplexml zip iconv mcrypt
\
&&
docker-php-ext-configure gd
--with-freetype-dir
=
/usr/include/
--with-jpeg-dir
=
/usr/include/
\
&&
docker-php-ext-install
-j
$(
nproc
)
gd
docker-compose.yml
0 → 100644
View file @
5ce3ec67
version
:
'
2'
services
:
php-laravel-test
:
build
:
./_images/fpm
volumes
:
-
/etc/localtime:/etc/localtime:ro
-
./src:/var/www/code:rw
environment
:
-
DEVELOPMENT=1
networks
:
-
default
-
xyz-tier
web
:
image
:
nginx:stable
volumes
:
-
./_conf/nginx/sites:/etc/nginx/conf.d:ro
-
./src:/var/www/code:ro
labels
:
traefik.enable
:
"
true"
traefik.frontend.rule
:
Host:laravel-test.app.dev.rew.to
traefik.docker.network
:
dproxy_front-tier
networks
:
-
default
-
front-tier
networks
:
front-tier
:
external
:
name
:
dproxy_front-tier
xyz-tier
:
external
:
name
:
addcpm_default
src/public/index.php
0 → 100644
View file @
5ce3ec67
<h1>
laravel test
</h1>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment