Skip to content

Commit

Permalink
[DOP-8837] - hardcode env vars in docker compose configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-lixakov committed Sep 20, 2023
1 parent 83fd1f5 commit 6db6b94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ ONETL_SFTP_PORT=2222
ONETL_SFTP_USER=onetl
ONETL_SFTP_PASSWORD=AesujeifohgoaCu0Boosiet5aimeitho

# Samba
ONETL_SAMBA_HOST=localhost
ONETL_SAMBA_PROTOCOL=SMB
ONETL_SAMBA_UID=1000
ONETL_SAMBA_GID=1000
ONETL_SAMBA_PORT=445
ONETL_SAMBA_SHARE=SmbShare
ONETL_SAMBA_USER=onetl
ONETL_SAMBA_PASSWORD=awd123fd1

# Webdav
ONETL_WEBDAV_HOST=webdav
ONETL_WEBDAV_PORT=80
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ services:
- "445:445"
volumes:
- ./docker/samba:/share/folder
command: '-u "${ONETL_SAMBA_UID}:${ONETL_SAMBA_GID}:${ONETL_SAMBA_USER}:${ONETL_SAMBA_USER}:${ONETL_SAMBA_PASSWORD}" -s "${ONETL_SAMBA_SHARE}:/share/folder:rw:${ONETL_SAMBA_USER}"'
command: '-u "1000:1000:onetl:onetl:awd123fd1" -s "SmbShare:/share/folder:rw:onetl"'
networks:
- onetl

Expand Down

0 comments on commit 6db6b94

Please sign in to comment.