Browse Source

* rearrange service ordering

- pass https port
master
dimti 1 year ago
parent
commit
d29546cb34
  1. 17
      docker-compose.base.yml
  2. 8
      docker-compose.yml.example

17
docker-compose.base.yml

@ -11,9 +11,6 @@ services:
- ./log/nginx:/var/log/nginx
ports:
- "80:80"
- "443:443"
expose:
- 80
php:
build:
context: ./dockerfiles/php-fpm
@ -29,8 +26,6 @@ services:
volumes:
- ${PROJECTS_DIR}:/usr/share/nginx/html
- ./data/profiler:/tmp/profiler
expose:
- 9000
workspace:
build:
context: ./dockerfiles/workspace
@ -52,12 +47,6 @@ services:
- user_ssh_key
- user_known_hosts
- composer_auth
inbucket:
image: inbucket/inbucket
restart: always
ports:
- "2500:2500"
- "9090:9000"
db:
image: mariadb
restart: always
@ -79,6 +68,12 @@ services:
PMA_PASSWORD: 123456
ports:
- "81:80"
inbucket:
image: inbucket/inbucket
restart: always
ports:
- "2500:2500"
- "9090:9000"
redis:
image: redis
restart: always

8
docker-compose.yml.example

@ -33,10 +33,6 @@ services:
service: workspace
build:
dockerfile: workspace81.Dockerfile
inbucket:
extends:
file: docker-compose.base.yml
service: inbucket
db:
extends:
file: docker-compose.base.yml
@ -45,6 +41,10 @@ services:
extends:
file: docker-compose.base.yml
service: pma
inbucket:
extends:
file: docker-compose.base.yml
service: inbucket
redis:
extends:
file: docker-compose.base.yml

Loading…
Cancel
Save