Подсмотрено в https://github.com/MariaDB/mariadb-docker/blob/master/examples/compose-replication-semisync.yml
0
0
1
| 1 | x-common-env: &common-env |
| 2 | env_file: |
| 3 | - .env |
| 4 | |
| 5 | services: |
| 6 | svc1: |
| 7 | <<: *common-env |
| 8 | container_name: service_1 |
| 9 | # ... |