mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* [ACA-2157] Added brief description and updated links * [ACA-2157] Fixed broken image URL
43 lines
939 B
Markdown
43 lines
939 B
Markdown
---
|
|
Title: Docker
|
|
---
|
|
|
|
# Docker
|
|
|
|
ACA comes with the ACS 6.0 Community Edition preconfigured.
|
|
|
|
The application runs in two modes:
|
|
|
|
- Development (runs latest source code, requires building application)
|
|
- Preview (runs with latest published containers, master branch)
|
|
|
|
## Development Mode
|
|
|
|
Run the local instance of the application packaged into the docker image together with the ACS images:
|
|
|
|
```sh
|
|
npm run build
|
|
npm run start:docker
|
|
```
|
|
|
|
The ACA runs on port `4000` when served from within container.
|
|
|
|
Use the following command to stop all the containers:
|
|
|
|
```sh
|
|
npm run stop:docker
|
|
```
|
|
|
|
## Preview Mode
|
|
|
|
**Tip:** With this mode, you do not need building application from source code or installing dependencies.
|
|
|
|
To run the latest published container go to the `docker-compose` folder and start docker compose from there:
|
|
|
|
```sh
|
|
cd docker-compose
|
|
docker-compose up
|
|
```
|
|
|
|
The application is available at the `http://localhost:3000` address.
|