Commit 42e2118e authored by Bikram Dhoju's avatar Bikram Dhoju

some fixed in tony

parent 0cd74671
FROM mysql:5.7
ADD ./redmine_latest.sql /docker-entrypoint-initdb.d
ADD ./*.sql /docker-entrypoint-initdb.d
#RUN apt-get -y install automysqlbackup
RUN mkdir -p /script
RUN mkdir -p /backups
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
version: '3.1'
version: '2'
services:
db:
build:
context: ./database
......@@ -11,15 +9,13 @@ services:
MYSQL_DATABASE: redmine
volumes:
- mysqldata:/var/lib/mysql
- backup:/backups
- /pub/backup/redmine_docker_backup:/backups
redmine:
image: redmine:4.0.0
restart: always
ports:
- 8080:3000
- 70:3000
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_PASSWORD: olenepal2018
......@@ -30,4 +26,3 @@ services:
volumes:
mysqldata:
backup:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment