anthony revisó este gist . Ir a la revisión
1 file changed, 14 insertions
compose.yml(archivo creado)
@@ -0,0 +1,14 @@ | |||
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 | + | # ... |
Siguiente
Anterior