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

Error to Install Cartoview Docker #makemigration #194

Open
rafifahlevi opened this issue Mar 7, 2019 · 1 comment
Open

Error to Install Cartoview Docker #makemigration #194

rafifahlevi opened this issue Mar 7, 2019 · 1 comment

Comments

@rafifahlevi
Copy link

rafifahlevi commented Mar 7, 2019

I am failed to install cartoview with docker
I am following step with Docker Installion's Step
when i type "make run" input
image
before that i got problem abou sqlalchemy didnt installed so i install sqlachemy
same error occurred

Please fill the following information to avoid closing issue

Describe your issue in detail

  • Cartoview Version : (x.xx.x)
  • Geonode Version : (x.xx.x)
  • log (optional):
please 
put 
your 
log 
here
@rafifahlevi
Copy link
Author

#docker-compose.yml
version: '3'

services:
postgis:
image: cartoview/cartoview-postgis:latest
restart: unless-stopped
env_file:
- ./env/postgis.env
expose:
- "5432"
volumes:
- "pg-data:/var/lib/postgresql"
networks:
-cartoview-internal:
elasticsearch:
image: elasticsearch:5.6.12-alpine
restart: unless-stopped
stdin_open: true
tty: true
expose:
- "9300"
- "9200"
networks:
-cartoview-internal:
rabbitmq:
image: rabbitmq:latest
restart: unless-stopped
expose:
- "5672"
- "15672"
networks:
-cartoview-internal:
data-dir-conf:
image: geonode/geoserver_data:latest
restart: on-failure
container_name: gsconf4cartoview
command: /bin/true
volumes:
- geoserver-data-dir:/geoserver_data/data
geoserver:
image: cartoview/geoserver_docker:tomcat
depends_on:
- postgis
- data-dir-conf
restart: always
expose:
- "8080"
volumes:
- "geoserver-data-dir:/geoserver_data"
env_file:
- ./env/tomcat.env
networks:
-cartoview-external:
ipv4_address: 10.5.0.2
-cartoview-internal:
cartoview:
image: cartoview/cartoview:latest
command: bash -c "pip install -e . && python manage.py cherry_server"
restart: unless-stopped
hostname: cartoview
depends_on:
- postgis
- geoserver
env_file:
- ./env/django.env
volumes:
- "./:/code/"
networks:
-cartoview-external:
ipv4_address: 10.5.0.3
-cartoview-internal:
expose:
- "8000"
celery:
image: cartoview/cartoview:latest
command: bash -c "pip install -e . && celery worker --app=cartoview --broker=amqp://guest:guest@rabbitmq:5672/ -B -E -l debug"
restart: unless-stopped
hostname: celery
depends_on:
- postgis
- rabbitmq
- geoserver
stdin_open: true
env_file:
- ./env/celery.env
volumes:
- "./:/code/"
networks:
-cartoview-internal:
nginx:
image: nginx:alpine
restart: unless-stopped
expose:
- "80"
volumes:
- ./scripts/nginx/nginx.conf:/etc/nginx/nginx.conf
networks:
-cartoview-external:
ipv4_address: 10.5.0.4
-cartoview-internal:
networks:
-cartoview-external:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
-cartoview-internal:
internal: true
volumes:
geoserver-data-dir:
pg-data:

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