Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
d4d667c1
Unverified
Commit
d4d667c1
authored
Oct 21, 2020
by
JR
Committed by
GitHub
Oct 21, 2020
Browse files
modified docker files for tzdata package compatibility (#1376)
parent
2d46a056
Changes
3
Hide whitespace changes
Inline
Side-by-side
dockerfy/docker-compose.yml
View file @
d4d667c1
...
...
@@ -4,7 +4,7 @@ services:
container_name
:
ravada-mysql
volumes
:
-
"
/opt/ravada/mysql:/var/lib/mysql"
-
"
/etc/localtime:/etc/localtime:ro"
#
- "/etc/localtime:/etc/localtime:ro"
-
"
/opt/ravada/log:/var/log/mysql"
networks
:
-
ravada_network
...
...
@@ -16,8 +16,8 @@ services:
ravada-front
:
container_name
:
ravada-front
volumes
:
-
"
/etc/timezone:/etc/timezone:ro"
-
"
/etc/localtime:/etc/localtime:ro"
#
- "/etc/timezone:/etc/timezone:ro"
#
- "/etc/localtime:/etc/localtime:ro"
-
"
~/src/ravada:/ravada"
-
"
/opt/ravada/screenshots:/var/www/img/screenshots"
ports
:
...
...
@@ -27,9 +27,9 @@ services:
networks
:
-
ravada_network
#By default download from dockerhub
image
:
ravada/front
#
image: ravada/front
#If you want to local build
#
build: dockers/front/.
build
:
dockers/front/.
restart
:
unless-stopped
depends_on
:
...
...
@@ -43,20 +43,20 @@ services:
-
"
/opt/ravada/images:/var/lib/libvirt/images"
-
"
/opt/ravada/screenshots:/var/www/img/screenshots"
-
"
/opt/ravada/etc:/etc/libvirt/qemu"
-
"
/etc/timezone:/etc/timezone:ro"
-
"
/etc/localtime:/etc/localtime:ro"
#
- "/etc/timezone:/etc/timezone:ro"
#
- "/etc/localtime:/etc/localtime:ro"
-
"
~/src/ravada:/ravada"
ports
:
-
"
5900-5938:5900-5938"
#
- "5900-5938:5900-5938"
#Unexposed 5939 Teamviewer port
-
"
5940-5999:5940-5999"
-
"
55900-55999:55900-55999"
networks
:
-
ravada_network
#By default download from dockerhub
image
:
ravada/back
#
image: ravada/back
#If you want to local build
#
build: dockers/back/.
build
:
dockers/back/.
privileged
:
true
restart
:
unless-stopped
...
...
dockerfy/dockers/back/Dockerfile
View file @
d4d667c1
...
...
@@ -14,7 +14,10 @@ RUN apt-get update \
liblwp-useragent-determined-perl libvirt-clients supervisor net-tools openssh-client apt-utils curl libpbkdf2-tiny-perl
\
libio-stringy-perl libvirt-daemon-system libvirt-clients netcat-openbsd qemu-kvm qemu-utils iproute2 wget bridge-utils firewalld dnsmasq iptables ebtables
\
libnet-openssh-perl libdatetime-format-dateparse-perl
\
&&
apt-get clean
\
&&
apt-get clean
ENV
TZ=Europe/Madrid
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
tzdata
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
echo
"listen_tls = 0"
>>
/etc/libvirt/libvirtd.conf
\
...
...
dockerfy/dockers/front/Dockerfile
View file @
d4d667c1
...
...
@@ -13,8 +13,12 @@ RUN apt-get update \
libfile-rsync-perl libdate-calc-perl libparallel-forkmanager-perl libdatetime-perl libencode-locale-perl netcat-openbsd
\
libio-stringy-perl libvirt-clients liblwp-useragent-determined-perl supervisor net-tools apt-utils lsof mysql-client
\
curl bash vim wget libnet-openssh-perl libdatetime-format-dateparse-perl
\
&&
apt-get clean
\
&&
apt-get clean
ENV
TZ=Europe/Madrid
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
tzdata
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
ln
-snf
/usr/share/zoneinfo/
$TZ
/etc/localtime
&&
echo
$TZ
>
/etc/timezone
RUN
mkdir
-p
/var/log/supervisor
\
&&
mkdir
-p
/run/sshd
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment