fix: Change user's id in sftp wp instance

This commit is contained in:
Andras Bacsai 2022-04-17 20:22:42 +02:00
parent ea18f25adc
commit 141f2481a7

View File

@ -113,7 +113,7 @@ export const post: RequestHandler = async (event) => {
services: {
[`${id}-ftp`]: {
image: `atmoz/sftp:alpine`,
command: `'${ftpUser}:${password.replace('\n', '').replace(/\$/g, '$$$')}:e:1001'`,
command: `'${ftpUser}:${password.replace('\n', '').replace(/\$/g, '$$$')}:e:33'`,
extra_hosts: ['host.docker.internal:host-gateway'],
container_name: `${id}-ftp`,
volumes,