fix: Change user's id in sftp wp instance
This commit is contained in:
@@ -113,7 +113,7 @@ export const post: RequestHandler = async (event) => {
|
|||||||
services: {
|
services: {
|
||||||
[`${id}-ftp`]: {
|
[`${id}-ftp`]: {
|
||||||
image: `atmoz/sftp:alpine`,
|
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'],
|
extra_hosts: ['host.docker.internal:host-gateway'],
|
||||||
container_name: `${id}-ftp`,
|
container_name: `${id}-ftp`,
|
||||||
volumes,
|
volumes,
|
||||||
|
|||||||
Reference in New Issue
Block a user