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

some fixed in tony

parent 0cd74671
FROM mysql:5.7 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 apt-get -y install automysqlbackup
RUN mkdir -p /script RUN mkdir -p /script
RUN mkdir -p /backups RUN mkdir -p /backups
......
This diff is collapsed.
This diff is collapsed.
version: '3.1' version: '2'
services: services:
db: db:
build: build:
context: ./database context: ./database
...@@ -11,15 +9,13 @@ services: ...@@ -11,15 +9,13 @@ services:
MYSQL_DATABASE: redmine MYSQL_DATABASE: redmine
volumes: volumes:
- mysqldata:/var/lib/mysql - mysqldata:/var/lib/mysql
- backup:/backups - /pub/backup/redmine_docker_backup:/backups
redmine: redmine:
image: redmine:4.0.0 image: redmine:4.0.0
restart: always restart: always
ports: ports:
- 8080:3000 - 70:3000
environment: environment:
REDMINE_DB_MYSQL: db REDMINE_DB_MYSQL: db
REDMINE_DB_PASSWORD: olenepal2018 REDMINE_DB_PASSWORD: olenepal2018
...@@ -30,4 +26,3 @@ services: ...@@ -30,4 +26,3 @@ services:
volumes: volumes:
mysqldata: 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