| 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 | # ... |
| 10 | |
| 11 | svc2: |
| 12 | <<: *common-env |
| 13 | container_name: service_2 |
| 14 | # ... |
anthony / Docker compose -- общие переиспользуемые части
Last active 3 months ago
Подсмотрено в https://github.com/MariaDB/mariadb-docker/blob/master/examples/compose-replication-semisync.yml
Revision a0301fdff2020d22baf83f613b56212ee56fc40e