-
Notifications
You must be signed in to change notification settings - Fork 46
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
Be able to get the local and s3 tile in Docker compose mode #3798
Conversation
docker/build/requirements.txt
Outdated
@@ -65,7 +65,7 @@ Sphinx==1.7.2 # doc | |||
sphinx-prompt==1.0.0 # doc | |||
SQLAlchemy==1.2.6 | |||
tilecloud==0.5.1 # Tile generation | |||
tilecloud-chain==1.5.2 # Tile generation | |||
tilecloud-chain==1.6.0.dev1 # Tile generation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't you do a 1.6.0 release lately?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, not yet :-)
${service_defaults('mapserver', 80)}\ | ||
${service_defaults('tilecloudchain', 80)}\ | ||
|
||
tilecloudchain: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have this key twice?!?!?
- config:ro | ||
${service_defaults('tilecloudchain')}\ | ||
entrypoint: | ||
- bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why using bash? And why the entrypoint instead of the command?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sleep isn't an executable, it's a bash command
@@ -57,7 +57,7 @@ backend geoportal | |||
|
|||
|
|||
backend tilecloudchain | |||
option httpchk GET ${VISIBLE_ENTRY_POINT}tiles HTTP/1.0\r\nUser-Agent:\ healthcheck | |||
option httpchk GET ${VISIBLE_ENTRY_POINT}tiles/1.0.0/WMTSCapabilities.xml HTTP/1.0\r\nUser-Agent:\ healthcheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not using the c2c health check?
@@ -71,6 +71,8 @@ frontend plain | |||
# If the path starts with /tiles/, use the tilecloudchain backend | |||
acl is_tiles var(req.path) -m beg ${VISIBLE_ENTRY_POINT}tiles/ | |||
use_backend tilecloudchain if is_tiles | |||
acl is_tiles var(req.path) -m beg ${VISIBLE_ENTRY_POINT}static_tiles/ | |||
use_backend tilecloudchain if is_tiles | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please define the env var C2C_BASE_PATH=/c2c_tiles and add the rule to the front
ea2ae82
to
5f54d0d
Compare
0e63d6f
to
d71d8f5
Compare
No description provided.