This repository has been archived on 2021-08-31. You can view files and clone it, but cannot push or open issues or pull requests.
mattermost/contrib/aws/Dockerrun.aws.json
2019-01-12 18:39:33 +01:00

120 lines
3.2 KiB
JSON

{
"AWSEBDockerrunVersion": "2",
"volumes": [
{
"name": "app-config",
"host": {
"sourcePath": "/var/app/current/app/mattermost/config"
}
},
{
"name": "app-data",
"host": {
"sourcePath": "/var/app/current/app/mattermost/data"
}
},
{
"name": "app-logs",
"host": {
"sourcePath": "/var/app/current/app/mattermost/logs"
}
},
{
"name": "app-plugins",
"host": {
"sourcePath": "/var/app/current/app/mattermost/plugins"
}
},
{
"name": "db-data",
"host": {
"sourcePath": "/var/app/current/db/mattermost/var/lib/postgresql/data"
}
},
{
"name": "web-cert",
"host": {
"sourcePath": "/var/app/current/web/cert"
}
}
],
"containerDefinitions": [
{
"name": "db",
"image": "mattermost/mattermost-prod-db:latest",
"memory": 128,
"essential": true,
"mountPoints": [
{
"sourceVolume": "db-data",
"containerPath": "/var/lib/postgresql/data"
}
],
"environment": [
{
"name": "POSTGRES_USER",
"value": "mmuser"
}, {
"name": "POSTGRES_PASSWORD",
"value": "mmuser_password"
}, {
"name": "POSTGRES_DB",
"value": "mattermost"
}
]
},
{
"name": "app",
"image": "mattermost/mattermost-prod-app:latest",
"memory": 128,
"essential": true,
"mountPoints": [
{
"sourceVolume": "app-config",
"containerPath": "/mattermost/config"
},
{
"sourceVolume": "app-data",
"containerPath": "/mattermost/data"
},
{
"sourceVolume": "app-logs",
"containerPath": "/mattermost/logs"
},
{
"sourceVolume": "app-plugins",
"containerPath": "/mattermost/plugins"
}
],
"links": [
"db"
]
},
{
"name": "web",
"image": "mattermost/mattermost-prod-web:5.6.3",
"memory": 128,
"essential": true,
"mountPoints": [
{
"sourceVolume": "web-cert",
"containerPath": "/cert"
}
],
"portMappings": [
{
"hostPort": 80,
"containerPort": 80
},
{
"hostPort": 443,
"containerPort": 443
}
],
"links": [
"app"
]
}
]
}