Hello
I installed Jasmin SMS Gateway, and Jasmin web panel successfully docker but I have an issue to setup the Submit Log in the docker with the project, can you help me do it?
jasmin web panel compose file
services:
jasmin_web:
image: tarekaec/jasmin_web_panel:1.1
ports:
- "8077:8000"
deploy:
replicas: 1
update_config:
order: start-first
env_file:
- .env
environment:
DEBUG: '1'
DJANGO_SETTINGS_MODULE: config.settings.pro
ALLOWED_HOSTS: '*'
PRODB_URL: postgres://jasmin:jasmin@jasmin_postgres:5432/jasmin
REDIS_URI: redis://jasmin_redis:6379/1
TELNET_HOST: 10.0.10.5
SUBMIT_LOG: 1
volumes:
- web_public:/app/public
- web_logs:/app/logs
depends_on:
- jasmin_redis
- jasmin_postgres
jasmin_celery:
image: tarekaec/jasmin_web_panel:1.1
entrypoint: bash ./docker-entrypoint-celery.sh
deploy:
replicas: 1
env_file:
- .env
environment:
DEBUG: 0
PRODB_URL: postgres://jasmin:jasmin@127.0.0.1:5432/jasmin
DJANGO_SETTINGS_MODULE: config.settings.pro
CELERY_BROKER_URL: redis://jasmin_redis:6379/0
CELERY_RESULT_BACKEND: redis://jasmin_redis:6379/0
CELERY_LOG_LEVEL: info
healthcheck:
disable: true
depends_on:
- jasmin_redis
- jasmin_postgres
jasmin_redis:
image: redis:alpine
tty: true
volumes:
- redis_data:/data
command:
- 'redis-server'
- '--appendonly yes'
- '--save 60 1'
environment:
REDIS_REPLICATION_MODE: master
ALLOW_EMPTY_PASSWORD: "yes"
sms_logger: # New service
image: tarekaec/jasmin_log:1.1
volumes:
- ./config/docker/jasmin/jasmin/resource/amqp0-9-1.xml:/etc/jasmin/resource/amqp0-9-1.xml
environment:
DB_TYPE_MYSQL: '0' # Indicates the use of PostgreSQL
DB_HOST: '127.0.0.1' # Hostname or IP for your database
DB_DATABASE: 'jasmin' # The name of your database
DB_USER: 'jasmin' # The user for your database
DB_PASS: 'jasmin' # The password for your database
jasmin_postgres:
image: postgres:latest
environment:
POSTGRES_USER: jasmin
POSTGRES_PASSWORD: jasmin
POSTGRES_DB: jasmin
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
redis_data:
driver: local
web_public:
driver: local
web_logs:
driver: local
postgres_data:
driver: local
networks:
default:
external:
name: jasmin_swarm_network
Hello I installed Jasmin SMS Gateway, and Jasmin web panel successfully docker but I have an issue to setup the Submit Log in the docker with the project, can you help me do it? jasmin web panel compose file
jasmin compose file