cachethq / cachethq/Docker

Resetup on container recreation

Open
#393 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
439
Forks
271
PR merge metrics
No merged PRs in 30d

Description

Hello,

when I recreate my Cachet docker container, the Cachet must be resetuped.

But why I should resetup Cachet if I recreate my Cachet container.

## Configs

### docker-compose.yml
```yaml
version: "3"

services:
postgres:
image: postgres:12-alpine
volumes:
- /var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=************************
restart: always
cachet:
build:
context: .
args:
- cachet_ver=2.4
ports:
- 127.0.0.2:81:8000
links:
- postgres:postgres
environment:
- DB_DRIVER=pgsql
- DB_HOST=postgres
- DB_PORT=5432
- DB_DATABASE=postgres
- DB_USERNAME=postgres
- DB_PASSWORD=************************
- DB_PREFIX=chq_
- APP_KEY=base64:********
- APP_LOG=errorlog
- APP_ENV=${APP_ENV:-production}
- APP_DEBUG=false
- DEBUG=false
- CACHE_DRIVER=database
- SESSION_DRIVER=database
- QUEUE_DRIVER=sync
- MAIL_DRIVER=smtp
- MAIL_HOST=mail.*****
- MAIL_PORT=587
- MAIL_USERNAME=status@****
- MAIL_PASSWORD=*****
- MAIL_ADDRESS=status@****
- MAIL_ENCRYPTION=tls

depends_on:
- postgres
restart: always
```

### Executed command
```bash
docker-compose down && docker-compose up -d
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.