Reorder docker
This commit is contained in:
15
adminer-compose.yml
Normal file
15
adminer-compose.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
adminer:
|
||||||
|
profiles:
|
||||||
|
- db
|
||||||
|
container_name: incoviba_adminer
|
||||||
|
image: adminer
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: ${APP_PATH:-.}/.adminer.env
|
||||||
|
networks:
|
||||||
|
- adminer_network
|
||||||
|
ports:
|
||||||
|
- "8083:8080"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
adminer_network: {}
|
@ -4,11 +4,11 @@ x-restart: &restart
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
proxy:
|
||||||
profiles:
|
profiles:
|
||||||
- app
|
- app
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
container_name: incoviba_web
|
container_name: incoviba_proxy
|
||||||
<<: *restart
|
<<: *restart
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT}:80"
|
- "${APP_PORT}:80"
|
||||||
@ -17,11 +17,11 @@ services:
|
|||||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
- ./logs/proxy:/logs
|
- ./logs/proxy:/logs
|
||||||
|
|
||||||
php:
|
web:
|
||||||
profiles:
|
profiles:
|
||||||
- app
|
- app
|
||||||
build: .
|
build: .
|
||||||
container_name: incoviba_php
|
container_name: incoviba_web
|
||||||
<<: *restart
|
<<: *restart
|
||||||
env_file:
|
env_file:
|
||||||
- ${APP_PATH:-.}/.env
|
- ${APP_PATH:-.}/.env
|
||||||
@ -45,18 +45,6 @@ services:
|
|||||||
- default
|
- default
|
||||||
- adminer_network
|
- adminer_network
|
||||||
|
|
||||||
adminer:
|
|
||||||
profiles:
|
|
||||||
- db
|
|
||||||
image: adminer:latest
|
|
||||||
container_name: incoviba_adminer
|
|
||||||
<<: *restart
|
|
||||||
env_file: ${APP_PATH:-.}/.adminer.env
|
|
||||||
networks:
|
|
||||||
- adminer_network
|
|
||||||
ports:
|
|
||||||
- "8083:8080"
|
|
||||||
|
|
||||||
python:
|
python:
|
||||||
profiles:
|
profiles:
|
||||||
- python
|
- python
|
||||||
|
@ -18,6 +18,6 @@ server {
|
|||||||
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_read_timeout 3600;
|
fastcgi_read_timeout 3600;
|
||||||
fastcgi_pass php:9000;
|
fastcgi_pass web:9000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user