##// END OF EJS Templates
Update & fix jars_server.py
Update & fix jars_server.py

File last commit:

r305:a055088a3559
r312:b2b8d81ad03b
Show More
docker-compose.yml
66 lines | 1.3 KiB | text/x-yaml | YamlLexer
/ docker-compose.yml
Fiorella Quino
docker compose files...
r297 version: '2'
services:
SIR with docker-compose working
r299 # Django app
Fiorella Quino
docker compose files...
r297 web:
SIR with docker-compose working
r299 container_name: 'radarsys'
Fiorella Quino
docker compose files...
r297 build: .
restart: always
image: radarsys
SIR with docker-compose working
r299 command: gunicorn radarsys.wsgi:application -w 2 -b :8000
Juan C. Espinoza
Update docker configuration & fix timezone
r305 # command: python manage.py runserver 0.0.0.0:8030
# ports:
# - 8030:8030
Fiorella Quino
docker compose files...
r297 env_file: .env
SIR with docker-compose working
r299
Fiorella Quino
docker compose files...
r297 links:
- redis
SIR with docker-compose working
r299 - postgres
Fiorella Quino
docker compose files...
r297 volumes:
SIR with docker-compose working
r299 - './:/radarsys'
Juan C. Espinoza
Update docker configuration & fix timezone
r305 - '${DOCKER_DATA}/static:/radarsys/static'
Fiorella Quino
docker compose files...
r297 depends_on:
- redis
SIR with docker-compose working
r299 - postgres
Fiorella Quino
docker compose files...
r297
redis:
SIR with docker-compose working
r299 container_name: 'radarsys-redis'
Fiorella Quino
docker compose files...
r297 image: 'redis:3.2-alpine'
volumes:
Juan C. Espinoza
Update docker configuration & fix timezone
r305 - '${DOCKER_DATA}/redis:/data'
Fiorella Quino
docker compose files...
r297
celery_worker:
SIR with docker-compose working
r299 container_name: 'radarsys-celery'
Fiorella Quino
docker compose files...
r297 image: radarsys
env_file: .env
command: celery -A radarsys worker -l info
volumes_from:
- web
depends_on:
- web
SIR with docker-compose working
r299 # PostgreSQL
postgres:
container_name: 'radarsys-postgres'
build: ./postgres/
Fiorella Quino
docker compose files...
r297 volumes:
SIR with docker-compose working
r299 - ./postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- pgdata:/var/lib/postgresql/data
env_file: .env
Fiorella Quino
docker compose files...
r297
SIR with docker-compose working
r299 # Web Server
Fiorella Quino
docker compose files...
r297 nginx:
SIR with docker-compose working
r299 container_name: 'radarsys-nginx'
Fiorella Quino
docker compose files...
r297 restart: always
build: ./nginx/
ports:
SIR with docker-compose working
r299 - '8030:8030'
Fiorella Quino
docker compose files...
r297 volumes_from:
- web
links:
- web:web
depends_on:
- web
SIR with docker-compose working
r299
volumes:
pgdata:
Update docker configurations
r300 driver: local