[root@redmine-vm ~]# sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 617 0 617 0 0 722 0 --:--:-- --:--:-- --:--:-- 723 100 15.4M 100 15.4M 0 0 4152k 0 0:00:03 0:00:03 --:--:-- 5868k [root@redmine-vm ~]# sudo chmod +x /usr/local/bin/docker-compose [root@redmine-vm ~]# [root@redmine-vm ~]# [root@redmine-vm ~]# sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose [root@redmine-vm ~]# [root@redmine-vm ~]# [root@redmine-vm ~]# docker-compose --version docker-compose version 1.24.0, build 0aa59064 [root@redmine-vm ~]# curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-redmine/master/docker-compose.yml > docker-compose.yml [root@redmine-vm ~]# ls anaconda-ks.cfg docker-compose.yml original-ks.cfg [root@redmine-vm ~]# cat docker-compose.yml version: '2' services: mariadb: image: 'bitnami/mariadb:latest' environment: - ALLOW_EMPTY_PASSWORD=yes volumes: - '/var/opt/mariadb_data:/bitnami' redmine: image: 'bitnami/redmine:4' ports: - '80:3000' volumes: - '/var/opt/redmine_data:/bitnami' depends_on: - mariadb volumes: mariadb_data: driver: local redmine_data: driver: local [root@redmine-vm ~]# docker-compose up -d Creating network "root_default" with the default driver Pulling mariadb (bitnami/mariadb:latest)... latest: Pulling from bitnami/mariadb c5c5c7891d5c: Pull complete fb5cba2643cf: Pull complete 2e37126e6639: Pull complete 5f3a2240672d: Pull complete e7dc79bb3515: Pull complete 2b9ac5b11650: Pull complete 635c814648ae: Pull complete 38d7183bf9ee: Pull complete 37b23c30e0b3: Pull complete Digest: sha256:805e63115038d9f6a197f8d7953f590101a19a2c99dc9b8e525e29933859bb17 Status: Downloaded newer image for bitnami/mariadb:latest Pulling redmine (bitnami/redmine:4)... 4: Pulling from bitnami/redmine c5c5c7891d5c: Already exists ffba8c942e9c: Pull complete 595aa45388fc: Pull complete 8a7532bd3236: Pull complete 6c43dc8cd0df: Pull complete eabeb00a7d4b: Pull complete 0727fc261e50: Pull complete 416100bf2d13: Pull complete f05e50b3966e: Pull complete 20fd171e3c0a: Pull complete 7c4fbce57a46: Pull complete ced7aa980cd7: Pull complete 384165b5787d: Pull complete 9fa858c422f3: Pull complete Digest: sha256:ee939bbf7366eb1ea7a5227267d23732f11982aa35591f5ee31d93bf2c9d0c25 Status: Downloaded newer image for bitnami/redmine:4 Creating root_mariadb_1 ... done Creating root_redmine_1 ... done [root@redmine-vm ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 31fd8da85051 bitnami/redmine:4 "/app-entrypoint.sh 18 minutes ago Up 18 minutes 0.0.0.0:80->3000/tcp root_redmine_1 8dfe9eb94ffb bitnami/mariadb:latest "/entrypoint.sh /run 18 minutes ago Up 18 minutes 3306/tcp root_mariadb_1 [root@redmine-vm ~]#
Default 계정 : user / bitnami1