Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite modular architecture #9

Closed
ellioseven opened this issue Apr 20, 2018 · 1 comment
Closed

Rewrite modular architecture #9

ellioseven opened this issue Apr 20, 2018 · 1 comment

Comments

@ellioseven
Copy link
Owner

It may be better to follow a more modular approach for architecture. For example:

.
├── bin
├── docker-compose.yml
├── lib
│   └── services
│       ├── httpd
│       │   ├── docker-compose.httpd.yml
│       │   └── etc
│       │       └── httpd.conf
│       ├── mysql
│       │   ├── docker-compose.mysql.yml
│       │   ├── etc
│       │   │   └── mysql.conf
│       │   └── lib
│       │       └── data
│       ├── node
│       │   ├── docker-compose.node.yml
│       │   └── lib
│       │       └── npm-packages
│       └── php
│           ├── docker-compose.php.yml
│           ├── etc
│           │   └── php.ini
│           └── lib
├── Makefile
├── README.md
└── tmp
# docker-compose.yml
version: "2"
services:
  httpd:
    extends:
      file: 'services/httpd/docker-compose.httpd.yml'
      service: httpd

This will make it easier for scaffolding and will just generally be tidier.

@ellioseven
Copy link
Owner Author

Added in a2d8b14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant