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

Put the config files in /etc #7

Merged
merged 3 commits into from
Jun 25, 2018
Merged

Put the config files in /etc #7

merged 3 commits into from
Jun 25, 2018

Conversation

sbrunner
Copy link
Member

No description provided.

@sbrunner sbrunner requested a review from pvalsecc June 22, 2018 12:33
Copy link
Contributor

@pvalsecc pvalsecc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are going to break a lot of projects, if you do that. Just use the env vars in your docker-compose if you don't like the location.

@sbrunner
Copy link
Member Author

I just add a backward compatible symbolic link

@@ -40,7 +40,9 @@ RUN a2enmod fcgid headers && \
mkdir -p /var/www/plugins && \
chown www-data: /var/www/.qgis3 && \
mknod /var/log/docker p && \
chown www-data: /var/log/docker
chown www-data: /var/log/docker && \
ls --symbolic /project /etc/qgisserver
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/ls/ln/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oups, Thanks :-)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed :-)

COPY db /docker-entrypoint-initdb.d

VOLUME /project
VOLUME /etc/qgisserver
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather have this file left untouched to be sure we stay backward compatible.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just done :-)

@sbrunner sbrunner merged commit 64c82e0 into master Jun 25, 2018
@sbrunner sbrunner deleted the etc branch June 25, 2018 13:32
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

Successfully merging this pull request may close these issues.

2 participants