diff --git a/README.md b/README.md index 511b5482..cf9867da 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,15 @@ From the net/container sub directory: ### Example with Portainer and Nginx Proxy Manager From Portainer: + - In the volume view, click add volumen: + - Enter a name, then click 'Create the volume' - In the container view, click add container: - In the 'Image' field enter 'balzack/databag:latest' - Click 'publish a new network port', and select port 7000 for both host and container - Under 'Advanced container settings', select 'Env', and click 'Add Environment Variable' - Enter 'Name' as 'ADMIN' and your admin password [password] + - Under 'Advanced container settings', select 'Volumes', then 'map additional volume' + - Enter '/var/lib/databag' for 'container' and the created volume for 'volume' - Click 'Deploy the Container' From Nginx Proxy Manager: diff --git a/net/container/compose.yaml b/net/container/compose.yaml index a1b33470..b0878d24 100644 --- a/net/container/compose.yaml +++ b/net/container/compose.yaml @@ -6,5 +6,5 @@ services: ports: - "7000:7000" volumes: - - ./databag-data:/data + - ./databag-data:/var/lib/databag