Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ RUN URL=https://hndl.urbackup.org/Server/${VERSION} && \
&& cp -R /usr/share/urbackup /web-backup \
&& chmod +x /usr/bin/entrypoint.sh

# Rsyslog
RUN apt-get update && apt-get install rsyslog -y
RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
RUN service rsyslog start

# Expose ports
EXPOSE 55413
EXPOSE 55414
EXPOSE 55415
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## Fork from official image. Added web access monitoring. interface (rsyslog -> auth.log) and docker-compose.yml file

## Multiarch (amd64/i386/armhf/arm64(aarch64)) docker images for UrBackup server.
Pulling the `:latest` tag should automatically grab the right image for your arch.

Expand Down
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: '3'
services:
urbackup-server:
image: my-urbackup-server
build:
context: .
dockerfile: Dockerfile
container_name: urbackup-server-1
ports:
- "55413:55413"
- "127.0.0.1:55414:55414"
- "55414:55414"
- "55415:55415"
- "35623:35623/udp"
volumes:
- ./backups:/backups
- ./db:/var/urbackup
- ./logs:/var/log
restart: unless-stopped

1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ else
fi
chown urbackup:urbackup /backups
chown urbackup:urbackup /var/urbackup
service rsyslog start
exec urbackupsrv "$@"