feat: improve ec2 docs
This commit is contained in:
parent
e17a3ec92a
commit
d2a957e5ff
|
|
@ -19,13 +19,25 @@ If you have any questions, please feel free to reach out to us on [Discord](http
|
||||||
|
|
||||||
## Installing Docker Compose on Your EC2 Ubuntu Instance
|
## Installing Docker Compose on Your EC2 Ubuntu Instance
|
||||||
|
|
||||||
- Follow the official guide for docker installation on Ubuntu: [docker install guide](https://docs.docker.com/engine/install/ubuntu/#installation-methods)
|
1. **Follow the official guide for docker installation on Ubuntu: [docker install guide](https://docs.docker.com/engine/install/ubuntu/#installation-methods)**
|
||||||
- After it's installed, verify the installation:
|
|
||||||
|
2. **After it's installed, verify the installation**
|
||||||
```bash
|
```bash
|
||||||
docker compose version
|
docker compose version
|
||||||
# Docker Compose version v2.21.0
|
# Docker Compose version v2.21.0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
3. **Ensure that the docker daemon is running**
|
||||||
|
```bash
|
||||||
|
sudo systemctl enable --now docker
|
||||||
|
```
|
||||||
|
|
||||||
|
4. **Add current user to Docker Group (optional, to run Docker commands without `sudo`)**
|
||||||
|
```bash
|
||||||
|
sudo usermod -aG docker ${USER}
|
||||||
|
sudo systemctl restart docker
|
||||||
|
```
|
||||||
|
|
||||||
## Installing AppFlowy-Cloud
|
## Installing AppFlowy-Cloud
|
||||||
|
|
||||||
1. **Clone Repository**:
|
1. **Clone Repository**:
|
||||||
|
|
@ -56,13 +68,13 @@ If you have any questions, please feel free to reach out to us on [Discord](http
|
||||||
5. **Start AppFlowy Services**:
|
5. **Start AppFlowy Services**:
|
||||||
Launch the services using Docker Compose:
|
Launch the services using Docker Compose:
|
||||||
```bash
|
```bash
|
||||||
sudo docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
6. **Verify Service Status**:
|
6. **Verify Service Status**:
|
||||||
Check that all services are running:
|
Check that all services are running:
|
||||||
```bash
|
```bash
|
||||||
sudo docker ps -a
|
docker ps -a
|
||||||
```
|
```
|
||||||
|
|
||||||
## Post Install
|
## Post Install
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue