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
|
||||
|
||||
services:
|
||||
web:
|
||||
proxy:
|
||||
profiles:
|
||||
- app
|
||||
image: nginx:alpine
|
||||
container_name: incoviba_web
|
||||
container_name: incoviba_proxy
|
||||
<<: *restart
|
||||
ports:
|
||||
- "${APP_PORT}:80"
|
||||
@ -17,11 +17,11 @@ services:
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./logs/proxy:/logs
|
||||
|
||||
php:
|
||||
web:
|
||||
profiles:
|
||||
- app
|
||||
build: .
|
||||
container_name: incoviba_php
|
||||
container_name: incoviba_web
|
||||
<<: *restart
|
||||
env_file:
|
||||
- ${APP_PATH:-.}/.env
|
||||
@ -45,18 +45,6 @@ services:
|
||||
- default
|
||||
- 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:
|
||||
profiles:
|
||||
- python
|
||||
|
@ -18,6 +18,6 @@ server {
|
||||
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_read_timeout 3600;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_pass web:9000;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user