Giter Site home page Giter Site logo

Comments (1)

rafifahlevi avatar rafifahlevi commented on June 15, 2024

#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:

from cartoview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.