version: '3' services: ambre_mux: image: registry.oma-radio.fr/mux:$OMA_DOCKER_VERSION env_file: .env environment: OMA_CONFIG_Client1Url: /paj.ogg volumes: - $DATA_DIR/soundbase/pige:/app/pige ports: - $MUX_SERVER_PORT:9000 restart: unless-stopped networks: default: ipv4_address: $NET.100 deploy: resources: limits: cpus: '0.50' memory: 100M saphir_telecom_server: image: registry.oma-radio.fr/telecom-server:$OMA_DOCKER_VERSION env_file: .env ports: - $TELECOM_SERVER_PORT:3490 restart: unless-stopped networks: default: ipv4_address: $NET.101 deploy: resources: limits: cpus: '0.50' memory: 100M anthracite_jukebox: image: registry.oma-radio.fr/jukebox:$OMA_DOCKER_VERSION env_file: .env volumes: - $DATA_DIR/soundbase:/app/soundBase - $DATA_DIR/secours-jingle.wavM:/app/secours/secours-jingle.wavM restart: unless-stopped networks: default: ipv4_address: $NET.102 deploy: resources: limits: cpus: '0.50' memory: 100M azurite_jukebox_simulator: image: registry.oma-radio.fr/jukebox-simulator:$OMA_DOCKER_VERSION env_file: .env volumes: - $DATA_DIR/soundbase:/app/soundBase restart: unless-stopped deploy: resources: limits: cpus: '0.50' memory: 100M agate_importer: image: registry.oma-radio.fr/baseimport:$OMA_DOCKER_VERSION env_file: .env volumes: - $DATA_DIR/soundbase:/app/soundBase restart: unless-stopped networks: default: ipv4_address: $NET.104 deploy: resources: limits: cpus: '0.50' memory: 100M amarante_webserver: image: registry.oma-radio.fr/webserver:$OMA_DOCKER_VERSION env_file: .env environment: OMA_CONFIG_PigeOggConsigne: 5000 OMA_CONFIG_PigeOggMax: 5100 OMA_CONFIG_PigeOggMaxMax: 5500 OMA_CONFIG_PigeTextConsigne: 10000 OMA_CONFIG_PigeTextMax: 11000 OMA_CONFIG_PigeTextMaxMax: 15000 OMA_CONFIG_PodCacheSize: 25 # to fix a webserver bug restart: unless-stopped networks: default: ipv4_address: $NET.105 volumes: - $DATA_DIR/soundbase:/soundbase deploy: resources: limits: cpus: '0.50' memory: 100M rubis_base_mg: image: registry.oma-radio.fr/base-mg:$OMA_DOCKER_VERSION restart: unless-stopped networks: default: ipv4_address: $NET.106 volumes: - $DATA_DIR/soundbase:/soundbase deploy: resources: limits: cpus: '0.50' memory: 100M system_api: image: registry.oma-radio.fr/system-api:master env_file: .env environment: UID: 33 SOUNDBASE_PATH: /soundbase MOUNT: /api CONFIG_PATH: /config restart: unless-stopped networks: default: ipv4_address: $NET.107 volumes: - /tmp/uwsgi/$RADIO_HOST:/tmp/uwsgi - /var/run/docker.sock:/var/run/docker.sock - $DATA_DIR/soundbase:/soundbase - /data/soundbase.oma-radio.fr/Niilos:/keys/Niilos deploy: resources: limits: cpus: '0.50' memory: 100M liquidsoap: image: registry.oma-radio.fr/liquidsoap:1.3.7 env_file: .env volumes: - $DATA_DIR/secours.ogg:/secours.ogg - ./transcode.liq:/transcode.liq command: /transcode.liq restart: unless-stopped networks: default: ipv4_address: $NET.108 icecast: image: registry.oma-radio.fr/icecast:alpine-2.4.0 environment: - ICECAST_SOURCE_PASSWORD=JsCabjWJUZXrrrKCaaRZma5wD4YKj5LQLXv6f - ICECAST_ADMIN_PASSWORD=STh5LrPMvp876KPoajCPEUpehE98JPqZ6sEixSnzJ42CR2MdyPMBYfzjGpbAzajNgw8jsuLh - ICECAST_RELAY_PASSWORD=r2LgmDocgyYh7DqhSsey8tM99wxdViTpLtyi9tcWHtokC73QnC6kQLRRb58VUy5FXYnStRsG - ICECAST_ADMIN_USERNAME=admin - ICECAST_ADMIN_EMAIL=contact@oma-radio.fr - ICECAST_LOCATION=Rhône-Alpes - TZ=Europe/Paris restart: unless-stopped networks: default: ipv4_address: $NET.109 deploy: resources: limits: cpus: '0.50' memory: 100M networks: default: ipam: config: - subnet: $NET.0/24