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

how to set env nginx ? #12

Closed
wsdo opened this issue Dec 2, 2017 · 1 comment
Closed

how to set env nginx ? #12

wsdo opened this issue Dec 2, 2017 · 1 comment

Comments

@wsdo
Copy link

wsdo commented Dec 2, 2017

Is there a tutorial?

# app:
#     build: ./
#     expose:
#         - "9000"
#     volumes:
#         - ./:/var/www/html/
# nginx:
#     build: ./nginx
#     ports:
#         - "8080:80"
#     links:
#         - app
#     volumes_from:
#         - app
@mikehaertl
Copy link
Collaborator

You can check the old setup here:
https://github.com/codemix/yii2-dockerized/tree/8fa0abe9f5b42c7e5a32b4fefdeeb328fe434b42

But for now we will not include an Nginx example. The setup is easier with apache (only one container required) and there's an issue with logging from php-fpm.

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

2 participants