Dockerized Waarp Gateway FTP on top of Centos 6 Waarp-R66.
10K+
Waarp Gateway Ftp: Service extension to Waarp-R66

Run the Waarp-GwFTP image
docker run --name='waarp-gwftp' -it --rm -p 6621:6621 -p 50001-65534:50001-65534 -p 8076:8076 -p 8077:8077 fjudith/waarp-gwftp
NOTE: Please alow a few minutes for the application to start, especially if populating a remote database at first lauch. If you want to make sure that everythin went fine, whatch the logs:
docker exec -it waarp-gwftp bash
tail -f /var/log/waarp/${WAARP_APPNAME}.log
Go to http://localhost:8074 or point to the IP address of your docker host. On Mac or Windows, replace localhostwith the address of your Docker host which you can get using:
docker-machine ip default
For admin console, go to https://localhost:8067. the default username and password are:
Persistent Volumes If you use this image in production, you'lll probably want to persist the following locations in a volume
/etc/waarp/certs # JKS key & certs and GGP password stores
/etc/waarp/conf.d # Configuration files
/var/lib/waarp # Database and file transfer directories
/var/log/waarp # Waarp engine logs
server1 (Incremental naming recommanded for large or distributed deployments)enpasswordDefault Database type is H2.
If the container is linked to a Mysql or PosgreSQL database, password and username are automatically sets.
h2${WAARP_APPNAME}_waarpwaarpwaarpjdbc:${WAARP_DATABASE_TYPE}:/var/lib/waarp/${WAARP_APPNAME}/db/${WAARP_DATABASE_NAME};MODE=ORACLE;AUTO_SERVER=TRUEKeystores are automatically generated at first run and can be updated afterward (use volume to
certsdirectory). Admin password and User database are regerenerated each time the container starts.
Waarp aims a strong level of transport security. The following variables allows to set the various keys and passwords required to secure the Waarp instance:
CN=${WAARP_APPNAME}\, OU=xfer\, O=MYCompany\, L=Paris\, S=Paris, C=FR2048RSASHA256withRSA3650 (days)passwordpasswordpasswordpasswordpasswordOnly SNMPv2 and SNMPv3 (SHA/AES 256) is enabled by default.
passwordpasswordDefault ftps account are fromFTP and toFTP.
ftp-clientpasswordNONENONEDatabase is created by the database container and automatically populated by the application container on first run.
docker run -it -d --name=waarp-gwftp-pg \
--restart=always \
-e POSTGRES_USER=waarp \
-e POSTGRES_PASSWORD=Ch4ng3M3 \
-e POSTGRES_DB=server1-waarp \
-v waarp-r66-db:/var/lib/postgresql \
postgres
sleep 10
docker run -it -d --name=waarp-gwftp \
--link waarp-gwftp-pg:postgres \
--restart=always \
-p 6666:6666 \
-p 6667:6667 \
-p 8066:8066 \
-p 8067:8067 \
-p 8088:8088 \
fjudith/waarp-gwftp
You can use docker-compose to automate the above commands if you create a file called docker-compose.yml and and write inside the following content:
waarp-gwftp-pg:
image: postgres
restart: always
environment:
POSTGRES_DB: gwftp1-waarp
POSTGRES_PASSWORD: Ch4ng3M3
POSTGRES_USER: waarp
volumes:
- waarp-gwftp1-db:/var/lib/postgresql
- waarp-gwftp1-db:/var/log/postgresql
waarp-gwftp:
image: fjudith/waarp-gwftp
restart: always
environment:
WAARP_APPNAME: gwftp1
WAARP_ADMIN_PASSWORD: V3rY1ns3cur3P4ssw0rd
ports:
- 6621:6621/tcp
- 8076:8076/tcp
- 8077:8077/tcp
- 50001-65534:50001-65534/tcp
links:
- waarp-gwftp-pg:postgres
volumes:
- waarp-gwftp1-etc:/etc/waarp
- waarp-gwftp1-data:/var/lib/waarp
- waarp-gwftp1-log:/var/log/waarp
And run the following command from the same directory of the docker-compose.yml:
docker-compose up -d
Content type
Image
Digest
Size
456.5 MB
Last updated
almost 10 years ago
docker pull fjudith/waarp-gwftp