August 2017
Intermediate to advanced
278 pages
8h 53m
English
To get started, we need to create a docker-compose.yml file. This is in YAML format, which is a simple text-based language with a strong focus on readability. Here's what our docker-compose.yml file looks like:
version: '3'
networks:
webnet:
services:
redmine:
image: redmine
networks:
webnet:
aliases:
- demo-redmine
nginx-proxy:
build: ./
ports:
- 443:443
networks:
- webnet
This is located in the same directory as Dockerfile and the previous NGINX configuration files we used. The directory naming is also important, as Docker Compose will use it to prepend the names of the containers it creates. For this recipe, I have the files located in the composedemo directory.
With our Docker Compose configuration file, we can now build ...
Read now
Unlock full access