Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm not able to specify the size of the volume #387

Open
gsolerimperiascm opened this issue Aug 24, 2023 · 1 comment
Open

I'm not able to specify the size of the volume #387

gsolerimperiascm opened this issue Aug 24, 2023 · 1 comment

Comments

@gsolerimperiascm
Copy link

version: '3'

services:
sftp:
image: atmoz/sftp
ports:
- "9937:22"
command: genericuser:genericpass:1001:12345:/home/foo
volumes:
- /home/foo
tmpfs:
- /home/foo:rw,noexec,nosuid,size=1G

I'm trying to do this in the composer, it works and i can store data on the folder but the problem is it is using the generic filesystem volume not the 1gb created volume.

The volume is created and mounted but is not used.

@adrian-amaglio
Copy link

Hello,
I am not a maintainer of this repo.
You should use the "code" formatting when posting code (especially yaml). We have to reindent your compose file to test it...

Then, are you sure your issue is about this sftp server? It seems to be a compose issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants