Created
April 22, 2019 01:04
-
-
Save pzentenoe/a5699e31a1f4d4ba24b851f73133aaa3 to your computer and use it in GitHub Desktop.
Ejemplo de docker-compose con un stack mean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Vamos a definir los servicios y contenedores a usar | |
version: '3' | |
services: | |
# Preparamos el cliente | |
angular: | |
image: angular-cli:v1 # | |
ports: | |
- "4200:4200" # Puerto del cliente | |
# Preparamos el servidor | |
servidor: | |
image: server:v1 | |
ports: | |
- "3000:3000" #Puerto del servidor | |
#Contenedor de Mongo | |
database: | |
image: mongo | |
ports: | |
- "27017:27017" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment