You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not really think a docker-compose file is needed, since Cherry doesn't rely on other services. A reverse proxy like nginx is somehow needed, but it's only needed for "production". I may introduce docker compose examples when there are some integration features worth demo. Thanks for the advice though @bryceprutsos
Both cherry_data_v1:/data and ./cherry_data_v1:/data should work. The 1st one is called named volumes the 2nd is bind mounts.
I am not sure if you had a docker-compose.yml, but I have included one and also the volumes should have a ./cherry_data_v1:/data
version: '3.3' services: cherry: container_name: cherry volumes: - './cherry_data_v1:/data' ports: - '8000:8000' environment: - JWT_SECRET=Secret-here - ENABLE_REGISTRATION=1 image: haishanh/cherry
version: '3.3'
services:
cherry:
container_name: cherry
volumes:
- './cherry_data_v1:/data'
ports:
- '8000:8000'
environment:
- JWT_SECRET=Secret-here
- ENABLE_REGISTRATION=1
image: haishanh/cherry
The text was updated successfully, but these errors were encountered: