Skip to content

Commit

Permalink
fixed docker-compose formating
Browse files Browse the repository at this point in the history
  • Loading branch information
shukriadams authored Jun 4, 2021
1 parent 22e65e5 commit 48fbb43
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/install-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ Docker images are available @ https://hub.docker.com/r/shukriadams/arewedown. Fi

version: "2"
services:
arewedown:
image: shukriadams/arewedown:<TAG>
container_name: arewedown
restart: unless-stopped
volumes:
- ./config:/etc/arewedown/config
- ./logs:/etc/arewedown/logs/:rw
# - ./scripts:/etc/arewedown/custom-tests # optional, see "custom tests" section of documentation
ports:
- "3000:3000"
arewedown:
image: shukriadams/arewedown:<TAG>
container_name: arewedown
restart: unless-stopped
volumes:
- ./config:/etc/arewedown/config
- ./logs:/etc/arewedown/logs/:rw
# - ./scripts:/etc/arewedown/custom-tests # optional, see "custom tests" section of documentation
ports:
- "3000:3000"

- Two directory volume mounts are required, one for logs, the other for config.
- Ensure write access to the `logs` directory, the container runs with user id 1000, use `chown -R 1000 path/to/logs` to enable writes, or the app will fail.
- Create an empty `settings.yml` file in the config directory, this is where all application settings live.
- Create an empty `settings.yml` file in the config directory, this is where all application settings live.

0 comments on commit 48fbb43

Please sign in to comment.