![]() Image: adminer container_name: adminer restart: always depends_on: MYSQL_ROOT_PASSWORD: example MYSQL_DATABASE: ejabberd_test MYSQL_USER: ejabberd_test MYSQL_PASSWORD: ejabberd_test adminer: Test: mysqladmin ping -h 127.0.0.1 -u $$MYSQL_USER -password=$$MYSQL_PASSWORD interval: 10s retries: 120 environment: mysql.sql:/docker-entrypoint-initdb.d/mysql.sql:ro command: -default-authentication-plugin=mysql_native_password restart: always healthcheck: Image: mysql:latest container_name: mysql volumes: ejabberd.yml:/home/ejabberd/conf/ejabberd.yml:ro mysql: Test: netstat -nl | grep -q 5222 start_period: 5s interval: 5s timeout: 5s retries: 120 ports: CTL_ON_START=stats registeredusers status command: healthcheck: CTL_ON_CREATE=register admin localhost asd register user1my mysql.localhost asd Hostname: main container_name: main image: ejabberd/ecs:latest depends_on: See the Jabber SPAM Manifesto for details: ![]() > # Think twice before enabling registration from any > # network (see access_rules section above). > # Only accept registration requests from the "trusted" > # Avoid buggy clients to make their bookmarks public > access_max_user_messages: max_user_offline_messages > allow_subscription: true # enable MucSub Uncomment this when you have SQL configured: > # For small servers SQLite is a good fit and is very easy > # Mnesia is limited to 2GB, better to use an SQL backend > # Tokens are valid for a year as default: ![]() > - access: # add following lines in access section > # certfile: "/home/ejabberd/conf/server.pem" > # ejabberd_stun: Handles STUN Binding requests > #ca_file: "/etc/letsencrypt/live/localhost/fullchain.pem" > # - /etc/letsencrypt/live/localhost/privkey.pem > # - /etc/letsencrypt/live/localhost/fullchain.pem > # When using let's encrypt to generate certificates > ca_file: "/home/ejabberd/conf/cacert.pem" > # ******* MAKE SURE YOU INDENT SECTIONS CORRECTLY ******* > # The configuration file is written in YAML. # The parameters used in this configuration file are explained at
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |